Changes:
  * Make rayIter a global utility, and use it for radiation too.
  * prettynum -> pretty_num and cleanup.
  * Remove resolve_name/function_exists (unused).
  * Cleanup nuclear reactor code.
This commit is contained in:
ShadowNinja
2016-03-12 13:28:01 -05:00
parent 4a993c2de8
commit 85a984982c
10 changed files with 398 additions and 392 deletions

View File

@ -55,7 +55,7 @@ local run = function(pos, node)
meta:set_int("MV_EU_supply", power)
end
meta:set_string("infotext", S("@1 (@2 EU)", machine_name, technic.prettynum(power)))
meta:set_string("infotext", S("@1 (@2 EU)", machine_name, technic.pretty_num(power)))
end
minetest.register_node("technic:wind_mill", {