citylimits/scripts/simtactics/turn_on.gd
Tony Bark 239fa63a0c Basic AI
- If a power plant is present, the zone animates. Just like the original.
- Your budget also goes through the roof

This is just a proof-of-concept right now, and will likely crash your machine if you leave it on too long.
2023-01-21 05:45:38 -05:00

5 lines
95 B
GDScript

extends ConditionLeaf
func tick(actor, blackboard):
SimData.has_power = true
return RUNNING