forked from Cavemanon/SnootGame
w
This commit is contained in:
@ -24,6 +24,7 @@ init -3 python:
|
||||
self.mod_variables = []
|
||||
|
||||
def add_mod(self, name, label):
|
||||
#renpy.random.randint(a, b)
|
||||
self.mod_menu_access += [{
|
||||
'Name': name,
|
||||
'Label': label
|
||||
@ -36,12 +37,10 @@ init -3 python:
|
||||
def add_image(self, name, filename):
|
||||
s = str(self.mod_id)+name
|
||||
renpy.image(s, Image(filename))
|
||||
#z = renpy.get_registered_image(s)
|
||||
#self.mod_variables[self.mod_id][name] = z
|
||||
self.mod_variables[self.mod_id][name] = s
|
||||
print(self.mod_variables[self.mod_id])
|
||||
|
||||
def add_variable(name, default):
|
||||
def add_variable(self, name, default):
|
||||
self.mod_variables[self.mod_id][name] = default
|
||||
|
||||
def get(self, _id):
|
||||
|
Reference in New Issue
Block a user