-
Notifications
You must be signed in to change notification settings - Fork 0
/
control.lua
16 lines (15 loc) · 913 Bytes
/
control.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function set_radioactivity()
remote.call("kr-radioactivity", "add_item", "plutonium-fuel-cell")
remote.call("kr-radioactivity", "add_item", "MOX-fuel-cell")
remote.call("kr-radioactivity", "add_item", "breeder-fuel-cell")
remote.call("kr-radioactivity", "add_item", "plutonium-238")
remote.call("kr-radioactivity", "add_item", "plutonium-239")
remote.call("kr-radioactivity", "add_item", "plutonium-fuel")
remote.call("kr-radioactivity", "add_item", "used-up-plutonium-fuel-cell")
remote.call("kr-radioactivity", "add_item", "used-up-MOX-fuel-cell")
remote.call("kr-radioactivity", "add_item", "used-up-breeder-fuel-cell")
remote.call("kr-radioactivity", "add_item", "used-up-breeder-fuel-cell-solution-barrel")
remote.call("kr-radioactivity", "add_item", "used-up-uranium-fuel-cell-solution-barrel")
end
script.on_init(set_radioactivity)
script.on_configuration_changed(set_radioactivity)