Save Compatibility and Event Class
* Added reset method for the Event class. * Updated save compatibility to reset the state of the modified events on update.
This commit is contained in:
parent
adcfa2b511
commit
dc2cc3f72b
@ -220,6 +220,11 @@ init -1 python:
|
|||||||
|
|
||||||
self.queued = False
|
self.queued = False
|
||||||
|
|
||||||
|
def reset(self):
|
||||||
|
self.started = False
|
||||||
|
self.completed = False
|
||||||
|
self.completed_failed = False
|
||||||
|
|
||||||
def requirements_met(self):
|
def requirements_met(self):
|
||||||
if self.req:
|
if self.req:
|
||||||
try:
|
try:
|
||||||
|
@ -170,14 +170,23 @@ init python:
|
|||||||
|
|
||||||
if current < 1.46:
|
if current < 1.46:
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e1").label = "hg_pr_cumslut_T5_return"
|
getattr(store, "her_ev_cumslut_public_t5_e1").label = "hg_pr_cumslut_T5_return"
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e1").reset()
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e1").dequeue()
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e2").label = "hg_pr_cumslut_T5_return"
|
getattr(store, "her_ev_cumslut_public_t5_e2").label = "hg_pr_cumslut_T5_return"
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e2").reset()
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e2").dequeue()
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e3").label = "hg_pr_cumslut_T5_return"
|
getattr(store, "her_ev_cumslut_public_t5_e3").label = "hg_pr_cumslut_T5_return"
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e3").reset()
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e3").dequeue()
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e1_hub").label = "hg_pr_cumslut"
|
getattr(store, "her_ev_cumslut_public_t5_e1_hub").label = "hg_pr_cumslut"
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e2_hub").label = "hg_pr_cumslut"
|
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e3_hub").label = "hg_pr_cumslut"
|
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e1_hub").req = "states.her.tier == 5"
|
getattr(store, "her_ev_cumslut_public_t5_e1_hub").req = "states.her.tier == 5"
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e1_hub").reset()
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e2_hub").label = "hg_pr_cumslut"
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e2_hub").req = "states.her.tier == 5"
|
getattr(store, "her_ev_cumslut_public_t5_e2_hub").req = "states.her.tier == 5"
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e2_hub").reset()
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e3_hub").label = "hg_pr_cumslut"
|
||||||
getattr(store, "her_ev_cumslut_public_t5_e3_hub").req = "states.her.tier == 5"
|
getattr(store, "her_ev_cumslut_public_t5_e3_hub").req = "states.her.tier == 5"
|
||||||
|
getattr(store, "her_ev_cumslut_public_t5_e3_hub").reset()
|
||||||
|
|
||||||
for i in states.dolls:
|
for i in states.dolls:
|
||||||
doll = getattr(store, i)
|
doll = getattr(store, i)
|
||||||
|
Loading…
Reference in New Issue
Block a user