Commit Graph

76 Commits

Author SHA1 Message Date
16b270c6e7 Fixed Water mill code 2023-12-28 15:53:59 +00:00
ee0bfa0e26 Fix geothermal generator 2023-12-28 15:37:08 +00:00
5b52a94da7 Fixed Water Mill Node 2023-12-28 15:29:10 +00:00
b96d32b5ec Added back LV Furnace Recipe 2023-12-28 14:02:37 +00:00
588d36ba09 Added technic_compat mod to keep compatability functions accessable to the whole modpack 2023-12-28 09:54:09 +00:00
9a231387a3 Made nodes breakable again 2023-12-28 08:47:46 +00:00
58df66b7bc Major refactor, put compat ingredients in namespace tables 2023-12-27 17:11:42 +00:00
26a8ab3dd0 Various fixes reccomended by the mod author 2023-12-27 16:11:05 +00:00
9d0b609c6b Added Machine Recipes 2023-12-20 11:24:29 +00:00
cfe2ee2133 Added Mineclone2 support apart from special machines own recipes within the machines 2023-12-20 08:20:56 +00:00
4775d98fb7 Unify and simplify LED/Lamp node definition 2022-10-20 20:08:56 +02:00
d623715d94 Add LV led and lamp 2022-10-20 18:28:45 +02:00
a8daa417c4 Add GitHub workflow and luacheck (#545)
Add badge to README
Fix luacheck warnings
Remove node_ownership globals (and support)
2020-06-12 20:39:00 +02:00
4f78a69ffc Fix trailing whitespace (#482)
Trim all trailing whitespace characters,
2019-01-26 14:15:40 +01:00
5f6b87d43a Fix spelling errors (#481) 2019-01-26 14:15:07 +01:00
dc0689018d move CNC machine into its own mod 2018-11-25 16:10:23 +01:00
44cb8df048 use basic_materials mod where possible. 2018-11-11 09:54:20 +01:00
2e7859c35e New MV Hydro Machine (#412)
* New MV hydro with upgraded power

The LV hydro is easy to make giving lot of power. The New hydro MV will put a tier system to it; thereby giving more incentive to player to pursue MV hydro plus a little survival aspect. This is a result of [Detailed discussion which is here](https://github.com/minetest-mods/technic/issues/411). Thanks to VanessaE for a good talk and support and enthusiasm to make one :) This will now produce around 175 EU (in between 150-200, so basically average). The MV hydro will give 10x more power than this one. :)
2018-08-25 12:24:14 +02:00
fb93388f06 Replace deprecated invsize[] with size[] 2018-07-19 14:36:21 +02:00
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
54004f4951 redo top/bottom textures for supply converter
delete back/bottom texture for power monitor
use "machine bottom" for bottom of force field generator
add cable connection overlay, use it on various machines' bottoms/sides, as appropriate
2017-04-11 08:48:16 -04:00
72c536c04e always set the EU level
don't wait for production = 0.

(if water is removed, that causes phantom output)
2017-04-09 14:07:50 -04:00
338f3b6a99 Make battery box send information via digilines. 2017-04-01 16:47:34 -03:00
fd609d0f7b lower the cap on water mill to 1575 EU
2250 is just too much
2017-03-02 19:06:40 -05:00
1f49ef973d cap water mill output at max_output and 100% :P 2017-02-26 15:16:41 -05:00
4888581bee Make hydro generators sense the water flow volume around them
Water flow around a gen is shown more or less directly by the water's
param2, range 0 to 15, so four sides could total 60.  Cap the result to 45
so that three sides' worth of full flow (or four sides at reduced flow) still
registers as "100%", and raise the maximum outpu to 2250 EU.
2017-02-21 13:36:58 -05:00
8cab1a0aec don't allow standing water to power a gen,
and add support for default flowing river water
2017-02-21 13:21:23 -05:00
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
83c6494166 Use connected nodeboxes for cables 2016-03-20 00:02:33 -04:00
54b6d9976c CNC: re-add player inventory to formspec
Fix regression of commit

d732c8dfbd - "Add listring functionality"

by @est31 (me xD).
2015-09-12 08:04:07 +02:00
a793747d92 Move coal furnaces to other/
They don't use power, move them to where they belong.
2015-06-18 04:16:47 +02:00
d732c8dfbd Add listring functionality
Add shift-click functionality
2015-06-18 04:09:27 +02:00
35b0f068af Fix grinder name in recipe 2015-04-26 18:00:20 -04:00
cf75916ea7 Add spheres to the CNC machine
Note: this required renaming the base node name for the oblate spheroid
object, which previously had been named simply "sphere".  The result is
that all such nodes in an old world will change to actual spheres.

Since this includes a formspec change, machines will have to be dug and
re-placed to get the new program button to show up, and/or if the image
on the Oblate Spheroid button shows wrongly.
2015-03-12 00:02:23 -04:00
4b179821d3 Get rid of technic.format 2015-02-13 21:13:17 +01:00
d9bf9830b0 Better number formating
Is it 120000 or 1200000?
2015-01-31 01:29:16 -05:00
ec73a8508f add custom collision and selection box handling to CNC machine
also clean up formatting of surrounding code
2015-01-19 13:37:46 -05:00
80cb6a495a Use mesh nodes for all of the more complex CNC machined items 2015-01-16 16:57:34 -05:00
a413904ecd minetest.env:* --> minetest.* 2014-11-30 12:45:42 -05:00
6cc471e986 Simplify music player interface
Having a track selected now implies playing it, rather than
playing/stopped being a hidden state separate from track selection.
2014-08-15 12:25:46 +01:00
1d0687556a Fix music player's sound management
If an operating music player was disconnected from the electrical network
or destroyed, it used to leave the music playing forever.  There was
also a glitch upon starting playing, as the music was started by the
form handler but then stopped when the run function realised it wasn't
receiving any power, because it hadn't demanded any yet.
2014-08-15 12:25:46 +01:00
fc87eca4cd Fix technic_run declaration for hydro generator 2014-08-04 14:58:38 +01:00
12d0c6522b Correct breakability of sandstone CNC nodes
default:sandstone has cracky=3, but the CNC nodes had cracky=2.
2014-07-30 20:28:30 +01:00
0dfac3f484 Make granite harder than regular stone
In real life granite is renowned for its hardness.
2014-07-30 20:25:35 +01:00
9290e6f00d coal alloy furnace to return the buckets 2014-07-18 17:08:05 +01:00
563a4c071d Make switching station run all machines it is connected to, including those in unloaded blocks. 2014-07-11 11:00:46 +02:00
5e4a87b925 Rework some recipes to use more varied ingredients 2014-07-09 09:17:44 +02:00
5ec2d10dbc Vary cable insulation type with tier
LV cables are now paper-insulated, rather than uninsulated (which made
no sense).  MV cables are rubber-insulated as before.  HV cables are now
plastic-insulated (which they already visually appeared to be).  MV and
HV cables are still crafted by adding insulation onto lower-tier cable,
rather than by insulating raw copper; this matches the way machines are
upgraded between tiers rather than crafted afresh.
2014-07-09 09:17:44 +02:00
68ea0acbd0 Consistently use cable in electric machine recipes
All electric machine recipes now include cable of the appropriate tier
as the bottom-middle ingredient, immediately below the casing ingredient.
Many LV machines were using a copper ingot in that location.
2014-07-09 09:17:43 +02:00
e8a5a6652d Use machine casing in most machine recipes 2014-07-09 09:17:43 +02:00