Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adds formspec to change mode #3

Open
wants to merge 372 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
372 commits
Select commit Hold shift + click to select a range
8fb9db6
add override-able replace check function
SwissalpS Jan 14, 2022
9f62813
move restriction related from init to constrain
SwissalpS Jan 14, 2022
24cd04d
move inform() to utils.lua
SwissalpS Jan 14, 2022
b33bc84
moved register functions
SwissalpS Jan 14, 2022
6daf21b
moved path def
SwissalpS Jan 14, 2022
9d605b1
rename blacklist to deny_list
SwissalpS Jan 14, 2022
b236d41
bug cleanup from refactor
SwissalpS Jan 14, 2022
6bd0ab2
version bump 3.5
SwissalpS Jan 14, 2022
ae12f91
whitespace (and non functional changes)
SwissalpS Jan 18, 2022
93850f6
var renaming and local-izing methods
SwissalpS Jan 18, 2022
f26d92c
history, modes and formspecs
SwissalpS Jan 18, 2022
cf6cc76
locale
SwissalpS Jan 18, 2022
ca0ff56
changelog and comments
SwissalpS Jan 18, 2022
a6f62ad
add priv and xp protectors to deny-list
SwissalpS Jan 18, 2022
9607db7
refuse to set replacer to denied nodes
SwissalpS Jan 18, 2022
e0d0c06
will we regret this?
SwissalpS Jan 18, 2022
9f5655f
oops, oops & oopsies
SwissalpS Jan 18, 2022
9ae724e
version bump 3.6
SwissalpS Jan 18, 2022
4d3d068
formspec adjustments
SwissalpS Jan 19, 2022
de855c7
added new settings to settingtypes.txt
SwissalpS Jan 19, 2022
9a38140
typo fix
SwissalpS Jan 19, 2022
0ef4181
German translation
SwissalpS Jan 19, 2022
badabcc
typo update
SwissalpS Jan 19, 2022
a12630e
Portuguese translation
SwissalpS Jan 19, 2022
f6a76ff
Russian translation
SwissalpS Jan 19, 2022
ff5a6d8
Italian translation
SwissalpS Jan 19, 2022
79c3100
French translation
SwissalpS Jan 19, 2022
c8b6288
Finnish translation
SwissalpS Jan 19, 2022
bf199c0
Spanish translation
SwissalpS Jan 19, 2022
9993705
German tuning
SwissalpS Jan 19, 2022
ef2c3fc
version bump 3.7
SwissalpS Jan 19, 2022
ed53a03
moving files to folders
SwissalpS Jan 19, 2022
851ca48
improve saw item detection
SwissalpS Jan 19, 2022
a967d2c
keep init.lua flat
SwissalpS Jan 19, 2022
5c062ba
reorder called sub-files
SwissalpS Jan 19, 2022
786eda0
move nice_pos_string to utils.lua
SwissalpS Jan 19, 2022
af9a818
whitespace
SwissalpS Jan 19, 2022
f7b7ad8
cache known saw items
SwissalpS Jan 19, 2022
abf8127
add compat for saw items and beacon beams
SwissalpS Jan 19, 2022
565e812
oops, typo
SwissalpS Jan 19, 2022
b3e1884
version bump 3.8
SwissalpS Jan 19, 2022
8c5a73f
add group:vines placeholder
SwissalpS Jan 20, 2022
f5d23e7
order group placeholders alphabetically
SwissalpS Jan 20, 2022
d2aa5ab
avoid ]]
SwissalpS Jan 20, 2022
0dd6904
cobweb fix
SwissalpS Jan 20, 2022
9beaea0
RealTest moved to compat
SwissalpS Jan 20, 2022
61877bb
move to init for flexibility
SwissalpS Jan 20, 2022
b473cce
whitespace and comments
SwissalpS Jan 20, 2022
0360e93
vines moved to compat
SwissalpS Jan 20, 2022
ef80dd4
move default support to compat
SwissalpS Jan 20, 2022
2065b87
whitespace
SwissalpS Jan 20, 2022
bd57008
bakedclay to compat
SwissalpS Jan 20, 2022
544fac3
basic dyes to compat
SwissalpS Jan 20, 2022
b6afa67
whitespace
SwissalpS Jan 20, 2022
b439d5c
oopsie
SwissalpS Jan 20, 2022
6834788
show accurate light and differentiate rc/lc
SwissalpS Jan 20, 2022
8314024
don't show button when there is no drop
SwissalpS Jan 20, 2022
c0d0f39
moved constrain up so compat can be looped later
SwissalpS Jan 20, 2022
67a1da4
added replacer vines support
SwissalpS Jan 20, 2022
7bea45d
added alias mapping for non creative users
SwissalpS Jan 20, 2022
4e0f7e8
adding first use of alias map
SwissalpS Jan 20, 2022
c01aa1d
oopsa daisy
SwissalpS Jan 20, 2022
abb2508
adding ropes support
SwissalpS Jan 20, 2022
f5decde
whitespace
SwissalpS Jan 20, 2022
10ce7fd
support frozen dirt and dirt with grass
SwissalpS Jan 20, 2022
7dc0011
biofuel support
SwissalpS Jan 20, 2022
af4c157
prefab compat
SwissalpS Jan 20, 2022
01a742c
add optional depends
SwissalpS Jan 20, 2022
19f5609
add TODO file
SwissalpS Jan 20, 2022
0fe19e6
move blabla.lua to mod dir
SwissalpS Jan 20, 2022
cbc4c9e
better description for inspection tool
SwissalpS Jan 20, 2022
49f5db7
prepared inspection tool for translations
SwissalpS Jan 20, 2022
a633b10
small adjustment to text
SwissalpS Jan 20, 2022
777a9c8
German translation
SwissalpS Jan 20, 2022
2196d02
Finnish translation
SwissalpS Jan 20, 2022
c0c43f6
Russian translation
SwissalpS Jan 20, 2022
3a24a36
Portuguese translation
SwissalpS Jan 20, 2022
9d4636b
Italian translation
SwissalpS Jan 20, 2022
717a5e7
French translation
SwissalpS Jan 20, 2022
8db802e
put untranslated order in quotes
SwissalpS Jan 20, 2022
d618a97
Spanish translation
SwissalpS Jan 20, 2022
c8e1326
updated locale template
SwissalpS Jan 20, 2022
11ee69d
fix out of bounds error
SwissalpS Jan 20, 2022
e7788a7
shorten next/prev to fit in button
SwissalpS Jan 20, 2022
16be1e0
bugfix es
SwissalpS Jan 20, 2022
500c4e6
language overhaul
SwissalpS Jan 21, 2022
ba51e61
version bump 3.8.1
SwissalpS Jan 21, 2022
871e959
new log strings
SwissalpS Jan 24, 2022
3a74cf8
load compat files by scanning dir
SwissalpS Jan 24, 2022
4854f67
splitting constrain and enabler functions
SwissalpS Jan 24, 2022
ba07664
use nicer pos_to_string
SwissalpS Jan 24, 2022
8ecd022
move default denies to compat files
SwissalpS Jan 24, 2022
d67b09c
new tool set decision making
SwissalpS Jan 24, 2022
7426743
test helper for developement mode
SwissalpS Jan 24, 2022
e5bf1bf
bunch of compat and improved api
SwissalpS Jan 24, 2022
78e19a2
technic 'crafting' methods
SwissalpS Jan 24, 2022
7eb4430
add planetoidgen:airlight to air-like nodes
SwissalpS Jan 24, 2022
5c96541
whitespace and comments
SwissalpS Jan 24, 2022
a1df009
changed error messages
SwissalpS Jan 24, 2022
c1630bc
dev mode switching from GUI
SwissalpS Jan 24, 2022
0d5caee
TODO update
SwissalpS Jan 24, 2022
f9317b2
version bump 3.9
SwissalpS Jan 24, 2022
85bb9e9
compat for sci-fi plastic
SwissalpS Jan 24, 2022
b38faa7
advtrains compat
SwissalpS Jan 24, 2022
5d92b77
check deny group earlier
SwissalpS Jan 24, 2022
bf8975e
prefab compat no longer needed
SwissalpS Jan 24, 2022
0cfda23
bugfix actually check groups
SwissalpS Jan 24, 2022
ef398fc
compat for canned_food incl. pickling
SwissalpS Jan 24, 2022
bcd7848
wrap around prev. next
SwissalpS Jan 24, 2022
d7c821a
show next prev. buttons under 'this is' text
SwissalpS Jan 24, 2022
65ea3c2
tooltips for better translations
SwissalpS Jan 24, 2022
45a859f
update TODO
SwissalpS Jan 24, 2022
4c37d2b
fine-tuning positions
SwissalpS Jan 24, 2022
b010b3a
add group:food_potato image
SwissalpS Jan 24, 2022
9ccb275
sort
SwissalpS Jan 24, 2022
30b440a
wine compat
SwissalpS Jan 24, 2022
b40bda9
compat vines:shears
SwissalpS Jan 24, 2022
cf3de8a
sheep compat (wool)
SwissalpS Jan 24, 2022
9303ff4
TODO update
SwissalpS Jan 24, 2022
9a8040d
inspect ehlphabet compat
SwissalpS Jan 25, 2022
789cf2f
ehlphabet replacer compat
SwissalpS Jan 25, 2022
c387f5a
compat for letters
SwissalpS Jan 25, 2022
fd3f4b1
cleanup comment
SwissalpS Jan 25, 2022
0c5fa75
version bump 3.10
SwissalpS Jan 25, 2022
d90bc18
update method strings
SwissalpS Jan 25, 2022
b6c0af1
add better drop detection
SwissalpS Jan 25, 2022
7081583
improved technic recipes
SwissalpS Jan 25, 2022
93da96a
improve airbrush method
SwissalpS Jan 25, 2022
0e9f955
improve dynamic methods handling
SwissalpS Jan 25, 2022
7bde364
TODO updated
SwissalpS Jan 25, 2022
508a361
reformated chat command for more flexibility
SwissalpS Jan 26, 2022
12eaba2
added sound feedback for errors (mainly)
SwissalpS Jan 26, 2022
8c2dbcb
added tooltips
SwissalpS Jan 26, 2022
caaeeb7
failed attempt with textarea
SwissalpS Jan 26, 2022
c261ec3
experimenting with opening unified_inventory with tool
SwissalpS Jan 26, 2022
36d3d61
TODO update
SwissalpS Jan 26, 2022
a7f5f74
version bump 3.11
SwissalpS Jan 26, 2022
e1a36a9
fix vines:rope
SwissalpS Jan 26, 2022
1c0692b
'fix' ropes
SwissalpS Jan 26, 2022
493fc53
jumping compat
SwissalpS Jan 26, 2022
912dfff
scifi_nodes laptop
SwissalpS Jan 26, 2022
2e95ce7
TODO update these seem to work
SwissalpS Jan 26, 2022
b6d3bfa
TODO update
SwissalpS Jan 26, 2022
26d3c37
prepare for better translatable strings detection
SwissalpS Jan 26, 2022
e2911ef
translations update
SwissalpS Jan 26, 2022
20337bc
documentation update
SwissalpS Jan 26, 2022
9339454
LICENSE added
SwissalpS Jan 26, 2022
5a48c80
version bump 3.12
SwissalpS Jan 26, 2022
197c4ee
cleanup depends and update .luacheckrc
SwissalpS Jan 26, 2022
e7ecfd9
add luacheck github workflow
SwissalpS Jan 27, 2022
5bd6fea
luacheck 'fixes'
SwissalpS Jan 27, 2022
23e1cb5
Merge pull request #35 from SwissalpS/replacerImproveSawItemDetection
SwissalpS Jan 27, 2022
ac47166
Update .luacheckrc
SwissalpS Jan 27, 2022
db172ec
Update .luacheckrc
SwissalpS Jan 27, 2022
36b17bd
Merge pull request #36 from SwissalpS/test
SwissalpS Jan 27, 2022
ed6eb09
debug lines
SwissalpS Jan 28, 2022
2876066
adding print_dump()
SwissalpS Jan 28, 2022
5583ac8
reorder methods (no code change)
SwissalpS Jan 28, 2022
be5137f
proper var names in inspect code
SwissalpS Jan 28, 2022
7a44dbd
fix print_dump
SwissalpS Jan 28, 2022
f5797f5
mute some often used debug lines
SwissalpS Jan 28, 2022
d845356
version bump 4.0
SwissalpS Jan 28, 2022
dcd9a16
locale improvements
SwissalpS Feb 1, 2022
e459df3
fix version 5 formspec
SwissalpS Feb 2, 2022
e9b2c98
add buckets to inspection tool
SwissalpS Feb 2, 2022
e33969a
add scoop and pour methods for cans
SwissalpS Feb 2, 2022
1e507fe
beertap compat
SwissalpS Feb 2, 2022
bce8c92
some blabla changes
SwissalpS Feb 2, 2022
561e270
locale updates
SwissalpS Feb 2, 2022
0a62923
fix nodes that don't have drops but drop themselves
SwissalpS Feb 2, 2022
5afe25b
locale updates
SwissalpS Feb 2, 2022
ce74159
luacheck ignore unused debug function
SwissalpS Feb 2, 2022
fa54eea
proper luacheck syntax
SwissalpS Feb 2, 2022
a74e313
add setting to disable minor modes
SwissalpS Feb 2, 2022
e270fa3
locale update
SwissalpS Feb 2, 2022
cdda316
support for silicon aka forced aliases
SwissalpS Feb 2, 2022
fd707cb
version bump 4.1
SwissalpS Feb 3, 2022
25739a6
those uranium dust mixing recipes are deliberate
SwissalpS Feb 3, 2022
cb4d433
thoughts updated
SwissalpS Feb 3, 2022
438eabe
fix group:food_pumpkin
SwissalpS Feb 3, 2022
7389f4f
adjust protection info
SwissalpS Feb 3, 2022
634ce77
fixed alias resolving
SwissalpS Feb 3, 2022
ffabbf2
use leaner time-out calculations
SwissalpS Feb 4, 2022
401c6ae
don't use datastructure for replacing multiple nodes
SwissalpS Feb 4, 2022
85fa432
version bump 4.2
SwissalpS Feb 4, 2022
2f499bd
enable changing modes with place without pointing at a node
SwissalpS Feb 4, 2022
f29a88e
formspec tweaks for disabled minor modes
SwissalpS Feb 4, 2022
4bf1a4d
locale substitution fix
SwissalpS Feb 5, 2022
92cf0fa
more info on mobs
SwissalpS Feb 6, 2022
224cf51
locale updates
SwissalpS Feb 6, 2022
c16e883
version bump 4.3
SwissalpS Feb 6, 2022
2e9e7ff
more local references
SwissalpS Feb 10, 2022
6958e1b
more player inspection
SwissalpS Feb 10, 2022
1099618
one more translatable string
SwissalpS Feb 10, 2022
2139e2a
better variable names: j -> index2; index -> index1
SwissalpS Feb 10, 2022
614cf02
whitespace
SwissalpS Feb 10, 2022
89c8e6d
locale updates
SwissalpS Feb 10, 2022
90ca3c5
beautify code
SwissalpS Feb 10, 2022
8f7a4be
version bump 4.4
SwissalpS Feb 10, 2022
e5ae6b6
add note to TODO
SwissalpS Feb 12, 2022
25d9b3d
pass full context to recipe adders for more functionality
SwissalpS Feb 14, 2022
8fb48e1
accept recipes without output
SwissalpS Feb 14, 2022
4647273
compat for item holders
SwissalpS Feb 14, 2022
85bcd5e
locale updates
SwissalpS Feb 14, 2022
e77a4c8
version bump 4.5
SwissalpS Feb 14, 2022
3c4ae2a
add support for improved scifi_nodes holders
SwissalpS Feb 14, 2022
6c4863a
version bump 4.6
SwissalpS Feb 14, 2022
34f181a
fix #39
SwissalpS Feb 14, 2022
05d0b58
fix unsafe negation
SwissalpS May 15, 2022
65a1041
Merge branch 'master' of https://github.com/SwissalpS/replacer
SwissalpS May 15, 2022
c2fc166
Reduce Technic registration warnings
S-S-X Jun 16, 2022
9c7652c
Merge pull request #43 from S-S-X/technic-update
SwissalpS Jun 24, 2022
2599568
Update CHANGELOG
SwissalpS Jun 24, 2022
939a4a7
version bump 4.7
SwissalpS Jun 24, 2022
3ebe76a
improve setting replacer
SwissalpS Jun 26, 2022
c5ba2a7
version bump 4.9
SwissalpS Jun 26, 2022
b0e653e
bugfix de translation typo
SwissalpS Aug 30, 2022
1ac2ab2
version bump 4.91
SwissalpS Aug 30, 2022
1fd714b
fix typo
fluxionary Nov 7, 2022
6b83c88
typo in comment
SwissalpS Jun 8, 2023
8a0e3e9
another trivial comment fix
SwissalpS Jun 8, 2023
3b7db12
fix multinode trouble in field mode
SwissalpS Feb 25, 2024
a364db4
unrelated luacheck 'fixes'
SwissalpS Feb 25, 2024
2cd312b
Merge pull request #48 from fluxionary/unkown
SwissalpS Feb 25, 2024
d138cb3
Merge branch 'unkown' into multinodeTrouble
SwissalpS Feb 25, 2024
fa89c9f
Merge pull request #50 from SwissalpS/multinodeTrouble
SwissalpS Feb 25, 2024
6eddf9e
phase 1 of going game agnostic
SwissalpS Jul 21, 2024
d509127
use local variable (since we already have it)
SwissalpS Jul 21, 2024
0e30dc3
handle games that don't return sounds
SwissalpS Jul 24, 2024
83cc4d1
don't load [default] compat if not using it
SwissalpS Jul 24, 2024
ff6364f
handle games not using creative global
SwissalpS Jul 24, 2024
68675ea
add replacer.no()
SwissalpS Jul 24, 2024
6096433
add replacer.log()
SwissalpS Jul 24, 2024
1fcb174
make sure these are booleans
SwissalpS Jul 28, 2024
b2bc1d2
xcompat sounds 'whitespace' reformat
SwissalpS Jul 28, 2024
0ca5fdd
xcompat materials 'whitespace' reformat
SwissalpS Jul 28, 2024
dd65ce6
add 'xcompat' machines
SwissalpS Jul 28, 2024
3d14ba1
exclude some liquids from test
SwissalpS Jul 28, 2024
cc123cc
handle farlands and mineclonia mobs
SwissalpS Jul 28, 2024
fd62e8b
locale 'Health: x/y'
SwissalpS Jul 28, 2024
ccc9483
inspect dynamic group fallback
SwissalpS Jul 28, 2024
5e0c5c7
inspect: game agnostic machines
SwissalpS Jul 28, 2024
d811cbf
inspect formspec size tweak
SwissalpS Jul 28, 2024
184637f
support any game in CDB
SwissalpS Jul 28, 2024
2695834
fix spelling, wording, spacing and some comments
SwissalpS Aug 3, 2024
7c2cace
expose has_creative()
SwissalpS Aug 3, 2024
087dced
allow technic replacer without [technic]
SwissalpS Aug 3, 2024
1cc1fee
Merge pull request #53 from SwissalpS/xcompat
SwissalpS Aug 3, 2024
7c9c431
Merge branch 'master' of github.com:SwissalpS/replacer
SwissalpS Aug 3, 2024
5d5dfc0
version bump 4.93
SwissalpS Aug 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
version bump 4.0
SwissalpS committed Jan 28, 2022

Verified

This commit was signed with the committer’s verified signature.
Garfield550 Garfield Lee
commit d845356edf824f8a6d9a6a8b43de7053e8dc4881
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
20220127 * SwissalpS cleaned up var names in inspect.lua
* Added .luacheckrc and print_dump()
* Bumped version to 4.0
20220126 * SwissalpS improved some compat items and redid translations.
* Documentation updated.
* Added LICENSE file.
3 changes: 0 additions & 3 deletions TODO
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
-- clean up inspect.lua to use same var names as are used by rest of replacer
after that, we can bump version to 4

-- inspection tool: add button to open unified_inventory's formspec
this may no longer be as important and isn't that practical as there are
now so many buttons. It would be hard to keep clear which item will be shown.
4 changes: 2 additions & 2 deletions init.lua
Original file line number Diff line number Diff line change
@@ -19,12 +19,12 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
--]]

-- Version 3.12 (20220126)
-- Version 4.0 (20220127)

-- Changelog: see CHANGELOG file

replacer = {}
replacer.version = 20220126
replacer.version = 20220127

replacer.has_bakedclay = minetest.get_modpath('bakedclay')
replacer.has_basic_dyes = minetest.get_modpath('dye')