- Aug 26, 2016
- 164
- 805
To add it to saves going forward you would just have to add to following, but there is no easy way to add it to already saved files.Here is a simple thing I would love to see in a future version of Holiday Island:
View attachment 2781514
Python:
init python:
def jsoncallback(d):
d["days"] = "Day " + str(gameday)
config.save_json_callbacks.append(jsoncallback)
Python:
hbox ypos -124:
if slot < 10:
text "0[slot]" size 12 xpos 6 outlines [(1,"#43a0bf")]
else:
text "[slot]" size 12 xpos 6 outlines [(1,"#43a0bf")]
text FileJson(slot, "days", empty="", missing="") size 12 xpos 210 xanchor 1.0 outlines [(1,"#43a0bf")]