Commit Graph

380 Commits

Author SHA1 Message Date
RealBadAngel 18cae761af The code to connect an electrical machine to cables would only consider
the first-seen tier for which the machine was registered.  So the
switching station, which is uniquely registered for all tiers, would
only visually connect to LV cable when placed, not to MV or HV cable.
(It would function nevertheless, and cable would connect to the switching
station if placed later.)  Change to consider all tiers.  Incidentally
avoid a gratuitous iteration through all registered machines.
2014-04-27 15:57:11 +02:00
Xanthin 39c41a06f4 Add german translations for all mods 2014-04-22 16:30:27 -04:00
Boba 44dbc75b61 Fix typo in frame and template motor recipes 2014-04-14 20:54:28 -04:00
Boba 061d1a3ab4 Fix crash when using the template tool 2014-04-14 20:52:57 -04:00
Bryant Mairs 9ab5846d56 Make the charge stored by every battery box consistent with the input ingredients. 2014-03-30 17:40:54 -04:00
Bryant Mairs 1b7fa38082 Reduce the charge stored by each type of crystal. 2014-03-30 17:40:54 -04:00
Tim 252156d653 Fix CNC steel block groups 2014-03-30 14:13:11 -04:00
Tim 8684fa1733 Fix constructor description 2014-03-30 14:13:04 -04:00
Tim 8a88812b8b Make marble, granite, bronze and stainless steel blocks CNC-millable 2014-03-30 14:12:34 -04:00
Tim 0201135231 Remove duplicate CNC registration of default:tree 2014-03-30 14:09:24 -04:00
Tim 8bdbe1e451 Fix steel block node name in the CNC 2014-03-30 14:08:56 -04:00
ShadowNinja 821fba9b02 Fix CNC power drain 2014-03-26 22:34:17 -04:00
Novatux b28001e36f Infinite stacks fix 2014-01-18 13:29:06 +01:00
Novatux e1c995f654 Actually call the mvps callback 2014-01-18 13:29:06 +01:00
Novatux 52e7014b7c Mesecons mvps support, better frames 2014-01-18 13:29:06 +01:00
Novatux 8c1be3b48e A few fixes 2014-01-18 13:29:06 +01:00
Novatux 8fba5e1140 Make those frames able to move 2014-01-18 13:29:06 +01:00
Novatux 68f7d34e1b First tests 2014-01-18 13:29:06 +01:00
Carter Kolwey ebc114df71 Fixed music player 2014-01-11 12:30:10 -05:00
Vanessa Ezekowitz 749df3b581 Fix all recipes that use pipeworks pneumatic tubes to follow latest changes
in pipeworks node namining conventions.
2014-01-01 23:27:51 -05:00
ShadowNinja 93b0d25cbc Use get_string for owner string 2013-12-29 10:59:04 -05:00
ShadowNinja 2df417feb7 Localize generator fuel 2013-12-23 16:38:05 -05:00
Vanessa Ezekowitz 018b248d51 fix crash in constructor 2013-12-21 02:26:19 -05:00
Vanessa Ezekowitz f3bba0aaac move inject_items to top of file (so that it's above the abm that calls it) 2013-12-18 20:41:08 -05:00
ShadowNinja d8437faebc More global localiztions 2013-12-17 19:56:01 -05:00
ShadowNinja c5d287f5f5 Make tube sending faster 2013-12-17 14:37:02 -05:00
ShadowNinja 5cf765b2f1 Localize most variables 2013-12-17 13:56:37 -05:00
ShadowNinja 0ea1bd1fa2 Fix music player
Sounds not included
2013-12-16 18:57:56 -05:00
Vanessa Ezekowitz ae235ee8f3 more pipeworks API-change updates 2013-12-15 15:49:28 -05:00
Vanessa Ezekowitz 8ef3f20c3c adapt to changes in Pipeworks API 2013-12-15 15:03:41 -05:00
ShadowNinja f3d8b47b20 Add support for minetest.swap_node 2013-12-10 20:14:39 -05:00
ShadowNinja 47b0b59884 Generators don't send items 2013-12-03 15:30:09 -05:00
SmallJoker 7a3cd49597 Add pipeworks support to generators 2013-12-03 11:22:48 -05:00
Bryant Mairs 37acdc77f7 Move production percentage for geothermal generators to infotext 2013-12-03 10:57:16 -05:00
ShadowNinja a35db449b3 Fix generators 2013-11-27 16:56:09 -05:00
ShadowNinja 354ee6f313 Add missing translations 2013-11-27 16:18:52 -05:00
ShadowNinja 0809dd747e Externalize common functions and protect inventories 2013-11-27 12:28:56 -05:00
ShadowNinja 76a8acbe5b Use upvalues in registrations 2013-11-26 16:53:52 -05:00
ShadowNinja 08db41ee4d Don't allow tubing items into LV machines 2013-11-26 16:33:27 -05:00
ShadowNinja bde49aca61 Fix crash when quarrying a protected area 2013-11-18 15:27:17 -05:00
ShadowNinja 2d8ff45d9a Fix crash with invalid radius 2013-11-15 00:54:17 -05:00
Novatux 6d31965b36 Fix bug with translations. 2013-11-11 15:37:30 +01:00
ShadowNinja be2f30a1a2 Add support for translations via intllib 2013-10-30 13:48:39 -04:00
ShadowNinja 9aee83f921 Fix generator nodemane 2013-10-28 14:37:40 -04:00
ShadowNinja cee65bdd2a Fix crash when entering a non-number for forcefield range 2013-10-27 14:39:45 -04:00
pagliaccio 704925aa7b Add MV and HV generators and make coal dust a fuel 2013-10-27 14:39:44 -04:00
Novatux 76879424ae Add crafts for frames and templates. 2013-10-26 09:13:55 +02:00
Novatux 808d382867 Better tempaltes 2013-10-19 11:28:16 +02:00
ShadowNinja eac4844175 Fix negative tool discharging and a few other tweaks...
Disable the flashlight by default.
Use itemstack:{get,set}_{metadata,name,wear,...} rather than {to,from}_table.
Improve the style of part of the code of mischelaneous tools
2013-10-18 22:28:32 -04:00
Novatux 66e4b5ede4 Remove remaining frames.addVect 2013-10-17 18:33:21 +02:00
Novatux a73d568e58 Bugfix 2013-10-13 16:24:17 +02:00
Novatux 48d571bd90 Add drop to templates 2013-10-13 11:09:08 +02:00
Novatux 3cf0d331f0 Make template motors have an owner and check area protection 2013-10-13 10:34:58 +02:00
Novatux c06cdf603e Add templates 2013-10-13 10:30:14 +02:00
ShadowNinja 363f033278 Disable wind mill by default because it isn't ready yet 2013-10-06 12:42:41 -04:00
Novatux a579ee829a Make frame motors have an owner and check area protection 2013-10-06 14:20:13 +02:00
Novatux 468d79db61 Bugfixes with energy branch.
Conflicts:
	technic/machines/switching_station.lua
2013-10-04 10:50:51 -04:00
Novatux 12d29c2139 Forgot to update on cable add/destroy+use minetest.hash_node_position because else it did not work. 2013-10-04 10:49:06 -04:00
Novatux f4ac2b8c1e Make power distribution more efficient.
Conflicts:
	technic/machines/register/cables.lua
2013-10-04 10:48:39 -04:00
ShadowNinja bd3cc74d05 Don't consume items or drain power when there isn't room for the results 2013-09-24 17:09:20 -04:00
ShadowNinja ee0765804c Partial rewrite 2013-09-17 16:37:56 -04:00
Novatux 48ea6fb99d Use only 1 node for frame motors. 2013-08-31 15:04:08 +02:00
GloopMaster f8132c13a2 Update grinder_gloopores.lua 2013-08-24 18:20:11 -04:00
kol0 57dc8904a0 correction amount of energy produced
I correct amount of energy produced with descripton value.
2013-07-30 11:30:12 +02:00
Jonathan Raphael Joachim Kolberg 50b8aed01c Finaly fixed the statements
The idle condition for mv mashines is changed to what it should be
because sending items into the tube is done in idle, so we only care
if there is something left in src
2013-07-26 19:29:16 +02:00
RealBadAngel d8ec3f8bbe Deployer and node breaker are now moved to pipeworks. 2013-07-25 07:59:00 +02:00
hdastwb 2d7f750d9a fixed a condition with mv machines so as to not power down machines with stuff to grind/smelt but nothing to tube out 2013-07-23 21:43:36 -04:00
hdastwb 2e4d983be7 added connect_sides to appropriate tube tables 2013-07-21 17:15:03 -04:00
Jonathan Raphael Joachim Kolberg d37cf7d536 added a mv grinder 2013-07-19 10:58:38 +02:00
RealBadAngel acc7f71302 Commons for battery boxes 2013-07-17 19:14:40 +02: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
RealBadAngel 922d2554a9 LV batbox background 2013-07-15 21:39:31 +02:00
RealBadAngel 410afaa583 Add compressor 2013-07-15 20:21:49 +02:00
ShadowNinja 57cd394773 Gigh -> High 2013-07-12 20:32:38 -04:00
ShadowNinja 1f4c621ffc Fix code style of the high voltage battery box 2013-07-12 20:28:07 -04:00
ShadowNinja 187015e073 Fix coding style of nuclear reactor 2013-07-12 19:23:29 -04:00
ShadowNinja 4f35f407ce Add LuaVoxelManip support to forcefield 2013-07-12 15:41:59 -04:00
ShadowNinja 30361afb34 Fix forcefield 2013-07-12 15:07:02 -04:00
kpoppel fa846989ac Remove file that doesn't seem to have any use.
Fix typing error in register... file
Fix two issues with nuclear reactor and set the burn time to 24h.
2013-07-11 23:01:13 +02:00
ShadowNinja 5d470cd753 Move files to subfolders 2013-07-11 12:31:00 -04:00