Commit Graph

145 Commits

Author SHA1 Message Date
BobFred7 df7f2e464a
Alloy furnace: More realistic recipe balance (#549) 2020-05-13 19:13:33 +02:00
coil 0e10e8360d
Fix crash when placing cable plates (#534)
All coordinates can be equal if pointed_thing.above is identical
to pointed_thing.under.
2020-03-15 17:27:36 +01:00
Serhiy Zahoriya 1a45ad19d4 Alloy furnace: Accept only unique ItemStacks from tubes (#523)
Co-authored-by: Luke aka SwissalpS <Luke@SwissalpS.ws>
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com>
2020-01-11 22:06:24 +01:00
fgrosswig e90b28895c battery_box.lua: Make "srcstack" local (#525)
Fixes warning:
Assignment to undeclared global "srcstack" inside a function at battery_box.lua:454
2020-01-06 21:50:15 +01:00
coil 08b660ba99 Add recipe to extract violet dye from blueberries (#518) 2019-12-14 10:20:32 +01:00
Parasitoid e8f1033d49 Add alloy ice + bucket = water bucket (#470) 2019-06-01 12:33:31 +02:00
Christopher Head 4f78a69ffc Fix trailing whitespace (#482)
Trim all trailing whitespace characters,
2019-01-26 14:15:40 +01:00
Christopher Head 6e58a8e939 Make power meter work on LV battery box (#483) 2019-01-26 14:14:45 +01:00
upsala e1a71a8fb0 Add MV-Freezer (#457)
New Grinder-recipe: ice => snowblock
New recipe for freezer: Freezer now generates ice
2018-12-09 17:37:58 +01:00
12Me21 8409be32fc Fix cable plate placement (#446)
Cable plate placement now uses minetest.item_place
2018-11-23 20:25:32 +01:00
Vanessa Dannenberg 44cb8df048 use basic_materials mod where possible. 2018-11-11 09:54:20 +01:00
DS 5b97d94dae New sandstone crafts, fix dye crafting (#390) 2018-10-05 19:46:33 +02:00
Vitaliy d1b54a573c Use tin from MTG instead of `moreores` (#401)
Register tin dust unconditionally
2018-07-21 19:11:12 +02:00
SmallJoker fb93388f06 Replace deprecated invsize[] with size[] 2018-07-19 14:36:21 +02:00
HybridDog 41f175986d Show EU power values more readable (#424)
Add the EU_string helper function
In comparison to pretty_num it uses SI prefixes, adds "EU" (e.g. kEU) and rounds the number for readability
Add a constant_digit_count boolean setting
2018-07-16 17:26:39 +02:00
Jordan Irwin a5db87f0f1 Test local variable 'have_ui' before calling 'unified_inventory' (#368) 2018-02-16 17:32:47 -08:00
DS 1a75cd9254 add sulfur-lead crafting recipe(s) for battery (#353) 2017-06-05 10:56:51 -04:00
DS 9cc1a78371 advanced cable plate placing (#357)
* advanced cable plate placing

* make also sneak possible

* add screwdriver support
2017-06-05 10:50:15 -04:00
Vanessa Ezekowitz 557dc4db1b Battery boxes no longer connect to tubes from bottom
(since a power cable needs to go there)

items destined for "discharge" still come from the top, but items bound for the
"charge" slot must come in from the left, right or back
2017-04-14 05:16:14 -04:00
Vanessa Ezekowitz 69feeef0af use clear_craft to remove default sandstone recipe
get rid of the two grinder recipes from homedecor/fake_fire (obsolete)
2017-04-13 20:27:19 -04:00
Thomas--S fc2f6d8976 Generalize check for cable below battery box 2017-04-13 22:36:52 +02:00
Vanessa Ezekowitz 06abe11dd0 check for cable plate under battery also 2017-04-13 16:25:42 -04:00
Vanessa Ezekowitz 7c11ff1876 LV fuel-fired gen should not have tube connection overlays 2017-04-12 21:04:37 -04:00
Vanessa Ezekowitz a34ea59105 LV batbox should show charge on all X/Z sides
(also, fixup some other texture defs for readability)
2017-04-12 20:29:22 -04:00
Vanessa Ezekowitz 33455328bd Make batteries only charge/discharge from the bottom
(they were already supposed to but would leech charge from sideways neighbors too)
2017-04-12 20:21:20 -04:00
Vanessa Ezekowitz 170d3e09c5 clean-up battery box images, make more consistent
added tube or cable entry overlays as appropriate.
deleted a couple of obsolete textures
2017-04-12 18:50:50 -04:00
DS 970f608078 use clear_craft (#339)
* use clear_craft

* fix it

* Update grinder_recipes.lua
2017-04-12 15:14:35 -04:00
Thomas--S 39bfb76cfb Take Item from Cable Plate Stack on Place (#345)
(when not in Creative)
and
Change drop to recipe.
2017-04-12 15:13:39 -04:00
Vanessa Ezekowitz fab2c492c4 pipeworks has button on/off, button label, and button "base" cached
used them wherever possible
2017-04-11 19:19:29 -04:00
Vanessa Ezekowitz ca86550f26 added tube entry overlays to most MV machines 2017-04-11 07:54:00 -04:00
Vanessa Ezekowitz a3a959ab5e add pipeworks tube overlays to MV, HV battery boxes 2017-04-11 07:48:46 -04:00
Vanessa Ezekowitz 3f8478086d fix crash in battery mod (missing meta check) 2017-04-11 07:45:31 -04:00
Vanessa Ezekowitz 092ab7e738 added tube entry overlays to fuel-fired generators 2017-04-11 07:37:18 -04:00
Vanessa Ezekowitz bdd45f161a fix broken ltier checks on MV/HV fuel-fired generators 2017-04-11 06:56:21 -04:00
Vanessa Ezekowitz 5d05f59482 allow per-node stack splitting on all other standard machines
(default off)
2017-04-11 06:26:11 -04:00
Vanessa Ezekowitz ceead2b5ab re-route tubes if active fuel-fired gen is dug (and can be) 2017-04-11 05:15:05 -04:00
Vanessa Ezekowitz 4eaf48290f allow per-generator stack splitting
(default off)
2017-04-11 05:13:27 -04:00
Vanessa Ezekowitz 7244f86ee5 allow per-battery charge/discharge stack splitting
(default off for both)
2017-04-11 04:41:11 -04:00
Vanessa Ezekowitz af39221df9 only reject part of itemtack from chest/machine/etc., if possible
(e.g. if there's room for 50 of some item, and you send a stack of 99,
50 are added to the chest and a stack of 49 is rejected and sent
on to the next destination)
2017-04-09 20:35:11 -04:00
DS-Minetest 4dda59da0c Add conductive plates.
These work exactly like cables, but are meant to be
used as floor for when the machine does not fill the
while cube.
2017-04-04 21:59:13 -03:00
DS-Minetest 338f3b6a99 Make battery box send information via digilines. 2017-04-01 16:47:34 -03:00
Carter Kolwey 7ea645496d Add chernobylite dust
Made by grinding chernobylite blocks, can be centrifuged into sand and 0.3% fissile uranium dust.
2017-03-15 20:05:37 -05:00
Carter Kolwey c4acb7225a Don't require a full network recalculation to add or remove a dead end
A dead end (node with only one connection) can be simply added or removed from the network without needing to traverse the whole thing.
2017-03-11 00:57:52 -06:00
Carter Kolwey 088eea1e3b Fixes for network calculation issues
This fixes several issues:
* More than one switching station could become active on large networks
 - Switching stations now semi-permanently become disabled if another is present
 - Power monitors have been added to replace the function of "slave" switching stations, to discourage overuse of switching stations
* Networks did not reliably "split" when cutting a cable
 - I "may" have caused this issue, but I believe it is solved by this
* Machines did not run without a player near the switching station
 - Active switching stations now forceload themselves, and free the forceloaded block if disabled, dug, or disconnected
 - Machines are only loaded to run them (as before), so only one mapblock (or two if the bottom edge of the switching station is a mapblock boundary) is loaded
 - Cables are still only loaded during a full network recalculation
2017-03-10 01:35:58 -06:00
Carter Kolwey d3f40e0fd0 Only update the associated network(s) when placing/digging nodes 2017-03-05 04:09:23 -06:00
Carter Kolwey dab5fa7105 Grind gravel into sand 2017-02-27 18:03:39 -06:00
Carter Kolwey 5e19514c60 Add dirt recipe to centrifuge
4 dirt -> 2 clay lumps, 1 sand, 1 gravel
2017-02-27 17:58:43 -06:00
Carter Kolwey 0139eab9a2 Rework dirt crafting
Dirt is now crafted from stone dust, leaves, water, and sand, instead of by grinding gravel. Stone dust can be obtained by grinding stone or sand.
2017-02-27 17:51:33 -06:00
tenplus1 322615542e Fix item drop when digging mv furnace
Fixed crash when digging mv furnace
2016-05-12 23:59:16 +02: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