Code: Select all
init -2 python:
class char() :
def __init__ (self, firstName, lastName, fullName, age):
self.firstName = "First Name"
self.lastName = "Last Name"
self.fullName = "Full Name"
self.age = 18
Code: Select all
define test_char = char("Test","Character","Test Character", 25)
Code: Select all
label start:
"test_char" "Hi, my name is [test_char.fullName]. I am [test_char.age] years old."
I also tried using default instead of define and it had no change, but I want to use default here for sure (I just used define here for clarity in explaining the issue). The only thing I can think of is that I'm using Ren'py 8.0.0?