Commit Graph

21 Commits

Author SHA1 Message Date
OgelGames
5345fe7af3
Prevent vacuum tubes breaking themselves and refactor code (#51)
also bumps `min_minetest_version` to 5.4.0
2022-11-11 23:14:08 +11:00
wsor4035
37eef73695
add I3 support + update to formspecs v2 (#22)
* add fs helper inv function

* add fs helper prepends function

* add trash can, vacuum tube, teleport tube. wielders, autocrafter, mesetube, injectors

* fixed missed texture to make game agnostic

* fix luacheck
2022-04-16 14:51:59 -04:00
wsor4035
5aa0501872
make pipeworks Game agnostic (#16)
* make it boot in non mtg

* make water flow

* fix water texture warnings

* fix missing steel texture issues

* remove depreciated/unnessary default function calls

* make sounds work

* fix default formspec crashes

* fix wierd tab spacing

* additionally game dig group support

* move crafts to crafts.lua

* make crafts support various games
2022-03-14 21:39:58 -04:00
hlqkj
4add40705f Improve formspecs for better mobile usability and consistency 2021-04-02 19:47:48 +00:00
Louis Royer
62bc13078f Add translation support
- Created `locale/template.txt`
- Fixed some typos
- Replace some `print("[pipeworks]"..` with `pipeworks.logger()`
- Removed "You hacker, you" from descriptions
2020-02-18 17:34:52 +00:00
Vanessa Dannenberg
d7dfd11364 use basic_materials mod where possible 2018-10-30 20:45:48 -04:00
SmallJoker
92a55c3985 Replace deprecated Lua function calls 2018-07-03 22:30:44 +02:00
DS
d82227942d Nice settings (#171)
* improve style

* do something

* make settingtypes nicer

* fix settingtypes new lines

* fix it and so make it work 🐈
2017-04-13 21:13:30 -04:00
LeMagnesium
fd1318d9e1 fix "sand" vacuum tubes not working 2015-11-15 14:24:07 -05:00
Tim
d167aacf4d add ownership/protection handling for device configuration
take any available ownership into account before deciding on area protection
2015-03-11 19:36:41 +01:00
Tim
674450236b label the vacuum tube logic abms for profiling purposes
useable with the mtt profiler starting with t4im/mtt@48eff13
2015-03-04 22:31:56 -05:00
MT-Modder
aa5f155100 Use group:sand for sand_tube_1 recipes 2015-03-04 22:17:36 -05:00
est31
f499f6a8c7 Fix vacuum tube formspec and make radius parsing smarter 2015-02-03 20:33:49 +01:00
Tim
e9432321e9 increase vacuum distance to radius * sqrt(3) again, but cache everything to local variables 2015-01-31 22:48:30 +01:00
Tim
e60f86a588 switch to the minetest-conventional def-table style of registering tubes to clean up their registrations
fallback for the old call is provided
2015-01-31 16:10:25 +01:00
Tim
810ae99008 reduce texturename repetition via __index 2015-01-31 14:47:06 +01:00
Tim
4dc3f159c9 remove unnecessary pcall() around tonumber, as it will return nil for invalid input and not throw an exception 2015-01-30 23:58:54 +01:00
Tim
f065349972 restyle formspecs and add infotexts to adjustable vacuuming tube 2015-01-30 21:45:33 +01:00
Tim
7f0372559b optimize vacuum tubes by getting rid of an extra abm, an extra loop per abm, table lookups and reduce the necessary search distance a bit 2015-01-30 21:30:35 +01:00
Tim
4eff124ec8 fix crafts to only register when their respective tubes are enabled
also add the one-way tube recipe back
2015-01-29 22:47:33 +01:00
Tim
a98af7bf15 split the big tubes file up into functional modules independend from the tube registration and add their respective crafting recipes
use this opportunity to remove some whitespaces issues from it
2015-01-29 22:37:29 +01:00