Reduce memory
* Reduced memory footprint by excluding DollCloth and DollOutfit instances from directly participating in rollback unless reachable through renpy scope
This commit is contained in:
parent
8d1a8b4ffa
commit
48874a546a
game/scripts/doll
@ -1,5 +1,5 @@
|
|||||||
init python:
|
init python:
|
||||||
class DollCloth(DollMethods):
|
class DollCloth(DollMethods, SlottedNoRollback):
|
||||||
layer_types = {
|
layer_types = {
|
||||||
"mask": "-1",
|
"mask": "-1",
|
||||||
"skin": 10,
|
"skin": 10,
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
init python:
|
init python:
|
||||||
class DollOutfit(DollMethods):
|
class DollOutfit(DollMethods, SlottedNoRollback):
|
||||||
default_schedule = {"day": False, "night": False, "cloudy": False, "rainy": False, "snowy": False}
|
default_schedule = {"day": False, "night": False, "cloudy": False, "rainy": False, "snowy": False}
|
||||||
|
|
||||||
def __init__(self, group, unlocked=False, name="", desc="", price=0, temp=False, schedule={}, hidden=False, addons=[]):
|
def __init__(self, group, unlocked=False, name="", desc="", price=0, temp=False, schedule={}, hidden=False, addons=[]):
|
||||||
|
Loading…
Reference in New Issue
Block a user