Commit Graph

44 Commits

Author SHA1 Message Date
Jordan Irwin
97e1c8b7f2 Replace deprecated method 'setting_getbool' with 'settings:get_bool' (#369) 2017-06-05 10:50:30 -04:00
ShadowNinja
1da213a5e4 Split radiation from nuclear reactor code 2017-01-28 17:51:14 -05:00
ShadowNinja
85a984982c Cleanup
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.
2016-03-20 00:02:33 -04:00
MT-Modder
b8c9028681 Tools don't wear in creative mode v2
- Removed cans (will add again per request)
- Added creative check to global namespace (checking only once as
requested by VanessaE)
2015-03-11 18:08:16 -04:00
est31
4b179821d3 Get rid of technic.format 2015-02-13 21:13:17 +01:00
Tim
41a10a86d5 reduce intllib code 2015-02-05 10:09:14 +01:00
Tim
49e82a604b supress undeclared variable access warnings in cases of intentional declaration checks 2015-02-05 09:47:37 +01:00
Zefram
049129d9b8 Handle both pipeworks APIs
The new API function is now renamed to pipeworks.tube_inject_item(),
so use it under that name.  If it is not available, synthesise the new
API in terms of the old one.
2014-08-15 13:23:41 +02:00
Zefram
9f0b41fe71 Make technic_worldgen loadable before technic
There was a small amount of dependency of technic_worldgen on the
technic mod, for configuration loading and the top-level "technic" table.
Resolve that by sharing the configuration and top-level table between the
two mods.  This means that technic_worldgen can be loaded before technic,
permitting other mods to depend on it without depending on technic.
2014-07-26 19:20:45 +01:00
ShadowNinja
37c06a9110 log_mod -> log_mods and get setting as boolean 2014-07-21 00:13:45 -04:00
ShadowNinja
f3d8b47b20 Add support for minetest.swap_node 2013-12-10 20:14:39 -05:00
ShadowNinja
0a5e521f2d Fix comment 2013-10-30 13:50:24 -04:00
ShadowNinja
be2f30a1a2 Add support for translations via intllib 2013-10-30 13:48:39 -04:00
ShadowNinja
ee0765804c Partial rewrite 2013-09-17 16:37:56 -04:00
RealBadAngel
3bc6cad671 Remove lv, mv, and hv tiers from power tools.
Theyre already tiered with Mk1-3 (at least drill is, more in the future).
Tools can be considered as designed for different tiers of circuits thx to their power needs.
For example Mk3 will require ages to load in LV batbox.
Batboxes load tools timining: LV standard (1000EU), MV 4x faster (4000EU), HV 16x faster (16000EU)
Also since 1EU is the same in any circuit it is possible to move energy from one to another with portable devices like crystals.

Other changes:
- moved charge/discharge functions to battery_boxes_commons.lua
- added UI style backgrounds for all the batboxes
2013-07-17 19:14:01 +02:00
ShadowNinja
d497429abc Load tools 2013-07-11 15:11:28 -04:00
ShadowNinja
5d470cd753 Move files to subfolders 2013-07-11 12:31:00 -04:00
kpoppel
3055270a7c Add nuclear reactor
Still needs some work. I am pushing it to get ideas and feedback.
Also fix some bugs in the LV coal generator that were found while making
the nuclear reactor.

Conflicts:
	technic/init.lua
2013-07-10 21:45:56 -04:00
ShadowNinja
19c9a0443b Merge branch 'indev'
Conflicts:
	technic/alloy_furnace.lua
	technic/alloy_furnaces_commons.lua
	technic/battery_box.lua
	technic/battery_box_hv.lua
	technic/battery_box_mv.lua
	technic/chainsaw.lua
	technic/cnc.lua
	technic/cnc_nodes.lua
	technic/electric_furnace.lua
	technic/grinder.lua
	technic/init.lua
	technic/solar_array_hv.lua
	technic/solar_array_lv.lua
	technic/solar_array_mv.lua
	technic/solar_panel.lua
	unified_inventory/api.lua
	unified_inventory/depends.txt
2013-07-08 16:57:56 -04:00
RealBadAngel
b1d668fa3b Merge pull request #40 from m97/indev
Add extractor.
2013-07-05 06:20:28 -07:00
kpoppel
9a0d3f2166 Forcefield now working with updated power scheme. 2013-07-04 21:33:27 +02:00
m97
ce5dfa311e Add extractor.
Add extractor for make more rubber from latex. Moved make dyes from
grinder to extractor.
2013-07-04 19:05:00 +02:00
kpoppel
ee5c6c23fa Changed power distribution method and streamlined the various existing machines.
An electrical network now requires a switching station to work. This statin is the one
resolving the network collecting power and distributing it again.
Added up/down converter. It is kind of finished. It can be updated with a slot for an upgrade
but so far it works without by resolving the types of wires above and below the box.
Tool and machine registering changed to use a table with key+value instead of the iterative method it used to have.
The power radiator changed to be able to send up to 3000MV EUs in a radius of 6.

This update will most likely require existing networks to be dug up and placed again. Also the
switching station must be added.
2013-07-02 00:03:36 +02:00
RealBadAngel
8e03d7ded6 Sync with indev branch, bump version to 0.4.7 2013-06-30 07:12:02 +02:00
kpoppel
37d9d94c44 Added case study of radiated power through inductive coils. 2013-06-19 00:24:37 +02:00
kpoppel
cfb5bd190c Added the Mv and HV down converters.
Doing that required some changes to the batteries in that they have new meta data
aligned with the other machines.
I also added a BA type machine in addition to the existing PR and RE types.
This way it is easy to find he batteries on the network.
2013-06-12 23:30:37 +02:00
kpoppel
ede3978965 Added solar arrays for all voltage tiers.
Added transformers for all voltage tiers.
I changed the recipes for solar panels to make them less expensive.
I also changed the output of the individual panel and made the arrays provie the real "oomph" :-)
Solar panels and arrays are dependent on light level, time of day and height abive ground (0) for output and cheating with torches and stuff.
Textures added.
Fixed bugs in the hv battery box. It was not working at all. I don't understand the hv box top texture though???
I have a sense that all machines connected to the battery boxes are taking the same amount of juice from the box.
A method of taking a little or a lot would be nice.
2013-06-03 23:37:04 +02:00
RealBadAngel
64207baa45 Add HV battery box 2013-05-09 16:02:02 +02:00
kpoppel
6463b77e60 Add milling machine from non cubic to technic mod.
Next step is to make sure it only works if powered.
2013-05-06 20:00:00 +02:00
RealBadAngel
e139fff8fb Updated item_drop (now as modpack component) 2013-04-08 23:52:20 +02:00
RealBadAngel
fd3f25b5e0 split chests off into a separate modpack component 2013-04-05 04:30:33 +02:00
RealBadAngel
0ca19dacb0 Update 0.4.6-0 2013-04-04 01:17:39 +02:00
RealBadAngel
279776ff62 update 2013-03-30 11:36:45 +01:00
Vanessa
501b4c0d2b Screwdriver tool is obsolete now, deleted. 2013-03-23 20:59:48 -04:00
RealBadAngel
c6da0a6713 Added Forcefield generator by ShadowNinja 2013-03-20 03:46:35 +01:00
RealBadAngel
e23f87d20c Reworked power tools, new drills 2013-02-21 22:01:49 +01:00
RealBadAngel
478407f0a3 Nore's frames code with nodebox frames 2013-02-06 15:34:01 +01:00
RealBadAngel
6123493fd7 Added API functions to register LV and MV machines 2013-02-03 19:28:51 +01:00
RealBadAngel
5d799eb94f added MV Alloy Furnace 2013-02-03 17:56:52 +01:00
RealBadAngel
74cf4746be Added Injector 2013-02-03 12:56:23 +01:00
RealBadAngel
061e6bbadc Re-added Deployer
Initial code of MV furnace
2013-02-01 00:28:22 +01:00
RealBadAngel
82cba919fa cleanup phase2 2013-01-27 14:03:47 +01:00
RealBadAngel
887463d95f cleanup 2013-01-27 13:58:47 +01:00
RealBadAngel
a30f1db52d fix to mod directory structure 2013-01-27 13:55:14 +01:00