This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name "Fissile Fuel?" | |
| Every Tick Do | |
| Input fe:: From PowerSource Bottom Side | |
| Output fe:: To NeedsPower Top Side | |
| Output fe:: To NeedsPower West Side | |
| End | |
| Every 20 Ticks Do | |
| Input sulfur From Interface |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python | |
| import json | |
| newdata={} | |
| with open('english.json') as json_file: | |
| data = json.load(json_file) | |
| for key, value in data.iteritems(): | |
| if key.startswith('GUI_PALETTECOLOR_'): | |
| number = key.split('_', 2) |