Commit Graph

19 Commits

Author SHA1 Message Date
SmallJoker 9b7c44b453 Wrench: Fix node registration from other mods 2023-01-29 13:11:37 +01:00
SmallJoker 0f6bdb1bde Correct (almost) all luacheck warnings
Also includes a few code opimizations:
- Combined mining drill functions
- Shorter alias registration (unused?)
- Add TODOs to address later
2022-06-06 21:04:13 +02:00
Fixer 395089dfd8 Wrench: Allow picking up with protection_bypass privilege (#393)
This allows admins to move other players locked chests/etc without hassle (relocating flying chests).
2018-07-15 12:27:52 +02:00
DS-Minetest 16146231b8 don't place eg. chests without data 2017-07-03 17:35:19 -04:00
DS 9167d4fc6f update wrench (#359) 2017-06-05 10:53:18 -04:00
Rogier 4874e29025 Wrench: fix restore of furnace (contents were not restored) 2015-03-11 18:10:16 -04:00
Rogier 78bfa4f893 Wrench: when restoring picked_up_<item> to <item>, preserve rotation 2015-03-11 18:10:16 -04: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 0cf4133b97 Make wrench available in creative mode only
The wrench is far too powerful to be available to survival-mode players
via a cheap recipe.
2014-08-22 01:07:38 +01:00
Zefram 68b7bcc28e split default iron/steel into three metals
Override the default mod's iron/steel substance, replacing it with three
metals: wrought iron (pure iron), carbon steel (iron alloyed with a little
carbon), and cast iron (iron alloyed with lots of carbon).  Wrought iron
is easiest to refine, then cast iron, and carbon steel the most difficult,
matching the historical progression.  Recipes that used default steel are
changed to use one of the three, the choice of alloy for each application
being both somewhat realistic and also matching up with game progression.

The default:steel{_ingot,block} items are identified specifically with
wrought iron.  This makes the default refining recipes work appropriately.
Iron-using recipes defined outside technic are thus necessarily
reinterpreted to use wrought iron, which is mostly appropriate.
Some objects are renamed accordingly.

Rather than use the default steel textures for wrought iron, with technic
providing textures for the other two, technic now provides textures for
all three metals.  This avoids problems that would occur with texture
packs that provide default_steel_{ingot,block} textures that are not
intended to support this wrought-iron/carbon-steel/cast-iron distinction.
A texture pack can provide a distinct set of three textures specifically
for the situation where this distinction is required.

Incidentally make grinding and alloy cooking recipes work correctly when
ingredients are specified by alias.
2014-05-22 20:57:50 +02:00
Xanthin 39c41a06f4 Add german translations for all mods 2014-04-22 16:30:27 -04:00
ShadowNinja c5a2f0facc Add wrench serialization format version 2013-12-20 18:48:46 -05:00
ShadowNinja 731a82169b Rewrite wrench. INCOMPATIBLE WITH OLD ITEMS
You must place all of your picked up nodes before
updating and pick them back up after.
2013-12-20 17:07:39 -05:00
ShadowNinja 82f4862e73 Rename wrench variable 2013-12-19 22:57:25 -05:00
RealBadAngel 3b32bf7907 Fix wrench crashes 2013-08-04 15:16:00 +02:00
metalstache d5c5541501 Fix recipe and battery box compatibility 2013-08-03 18:15:51 -04:00
metalstache 3b7695edf4 Add node metadata storage and Technic machine support 2013-08-01 18:46:20 -04:00
metalstache 21c96a971f Add Wrench mod 2013-07-31 11:55:59 -04:00