electronic decision making #9
Labels
No Label
Api
Game mechanic
orion
sparkmachine
v-next
No Milestone
No Assignees
1 Participants
Notifications
Due Date
Reference: nephele/minetest-gamemode-orion#9
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Now that the energy distribution works there should be a way to programmatically turn consumers on or off, for example sparklights draw progressively more power the brighter they are so There should be a way to tell them which mode to use. also to for example only illuminate when there is a need to, say with an light sensor (though time might make more sense, time is the only thing affecting global ambient light at the moment...)
So this might be similar in concept to mesecons or redstone, but probably different in execution... have to think about this more
Design:
A controller block connected to a grid runs scripts periodically (energy tick?) these scripts take inputs which are output from blocks (for example light level) or global stuff. It then takes actions like enabling blocks or setting blocks differently.