1
0
mirror of https://github.com/pandorabox-io/banners.git synced 2025-01-08 00:50:32 +01:00
Commit Graph

58 Commits

Author SHA1 Message Date
Luke aka SwissalpS
9b5962aba4 banner always exists
even if only "" it exists and there isn't an error.
not adding "" or texture string, causes a non critical error.
2024-11-29 07:45:14 +01:00
Luke aka SwissalpS
38bf923967 dynamically update masks
to reflect the currently selected colour.
2024-11-28 15:37:02 +01:00
Luke aka SwissalpS
f2147ce1b0 rename update_all -> update_preview_inv
since it isn't updating everything, only
the preview and the inventory item
2024-11-28 15:36:07 +01:00
Luke aka SwissalpS
b99d10cba5 add recoverable per player history with saved colour 2024-11-28 15:08:42 +01:00
Luke aka SwissalpS
dc9867f359 add versioning 2024-11-28 14:19:54 +01:00
Luke aka SwissalpS
7e3a84eaac minimize metadata size
also changed banners.max_transformations to
banners.max_undo_levels and lowered the value substantially.
2024-11-28 14:18:26 +01:00
Luke aka SwissalpS
3d22f9b76b fix #5 make transform history non-global
fixes #5
transformation history was shared by all users and kept growing as it
was never truely reset. Every time a user
used a banner a white background was dumped on top of the
stack making it possible to crash the server through an
overflow to core.serialize() function.
2024-11-28 12:59:45 +01:00
Luke aka SwissalpS
78be1611c3 cap max amount of layers
fixes #5
2024-11-28 12:55:46 +01:00
Luke aka SwissalpS
b1ff0eb558 use ipairs feature
or use the faster repeat-until-loop
2024-11-28 11:22:49 +01:00
Luke aka SwissalpS
b1d63fd7b1 reduce amount of times transformation string is calculated 2024-11-28 11:20:40 +01:00
Luke aka SwissalpS
5cf1946064 fix shaddowing global table 2024-11-28 10:17:03 +01:00
Luke aka SwissalpS
2175d77186 whitespace: two stray spaces
...that slipped through the cracks on previous whitespace edit
2024-11-28 10:15:52 +01:00
Luke aka SwissalpS
9c688d416b refactor weird declaration 2024-11-28 01:06:26 +01:00
Luke aka SwissalpS
c8a480135e whitespace: switch all files to same indent character
tabs -> spaces
2024-11-27 23:14:33 +01:00
Luke aka SwissalpS
deb750af99 stray whitespace fixups 2024-11-27 23:10:56 +01:00
Luke aka SwissalpS
aa514d114a avoid error: "unknown global" 2024-11-27 23:10:35 +01:00
Luke aka SwissalpS
c8af7c71e5 avoid duplicate code
save some lines and some extra method calls.
2024-11-27 23:08:26 +01:00
Luke aka SwissalpS
7ff3dd0311 clean close of file after reading 2024-11-27 22:55:15 +01:00
Luke aka SwissalpS
ae679a14d4 luacheck cleanups
- unused arguments
- shaddowed vars
- var redeclarations
- some whitespace involved in above lines
2024-11-27 22:54:39 +01:00
Luke aka SwissalpS
8d6b2f264f update optional depends 2024-11-27 22:40:38 +01:00
Luke aka SwissalpS
3b3ea242f7 add luacheck 2024-11-27 22:40:12 +01:00
Luke aka SwissalpS
51ec2a8695 Update Readme: Minetest -> Luanti 2024-11-27 22:33:14 +01:00
Luke aka SwissalpS
c8012c7266 whitespace and minetest. -> core.
- use same whitespace style throughout and fix some indents.
- change from minetest. to core. namespace.
2024-11-27 22:32:24 +01:00
Niklp
283b5bec25
Fix all deprecation warnings (#4) 2024-07-08 19:10:42 +02:00
Luke aka SwissalpS
cc36ed67b5
Is ground content (#3)
* banners aren't ground content

* Update factions.lua
2024-02-28 12:06:41 +01:00
Niklp
7605ffabfe Use mod.conf instead of depends.txt and description.txt 2022-04-22 07:25:44 +02:00
nikolaus-albinger
9c624a94da Fix 2 deprecated warnings 2022-02-08 19:49:29 +01:00
OgelGames
ef8cf57941 fix banners not being protected 2020-12-31 21:12:04 +11:00
Thomas Rudin
a6b1a280b4 alternate recipe 2019-08-19 10:31:57 +02:00
shamoanjac
ef8f2437cd Merge branch 'master' of https://github.com/shamoanjac/banners-mod 2017-02-10 07:29:05 +01:00
shamoanjac
03745ff814 Refactoring 2017-02-10 07:28:16 +01:00
shamoanjac
9fd7e579db Misc 2017-02-09 18:34:35 +01:00
shamoanjac
ead235fe7a Cannot get death banners back. 2016-08-28 00:06:38 +02:00
shamoanjac
e48c59c153 Added death banners 2016-08-15 18:30:44 +02:00
shamoanjac
a457da2b98 Fixes + half the war are done 2016-08-15 18:29:47 +02:00
shamoanjac
e4dc4965f5 Fixed power banners on_dig() 2016-08-15 14:54:41 +02:00
shamoanjac
7e74d0a3a0 Banners increase maxpower instead of power 2016-08-15 10:17:09 +02:00
shamoanjac
f17a739709 Final fix on power crafting REEEE 2016-08-15 01:14:22 +02:00
shamoanjac
ae28cedac6 Fixed power banner crafting 2016-08-15 00:11:41 +02:00
shamoanjac
015d1fbed5 Fixed finial typo 2016-08-14 12:28:21 +02:00
shamoanjac
6076d53459 Fixed golden filial and power pole recipes 2016-08-13 09:40:39 +02:00
shamoanjac
108cd077b0 Merge pull request #2 from hy8wGWme/master
Short description and bower.json for bower minetest mod reposetory
2016-08-12 21:50:56 +02:00
hy8wGWme
8fa42fbdf3 fixed , 2016-08-12 21:49:15 +02:00
hy8wGWme
87f9887a0e short description 2016-08-12 17:28:43 +02:00
hy8wGWme
a710b63b00 information for bower mod reposetory 2016-08-12 17:26:32 +02:00
shamoanjac
4197d88bad Update init.lua 2016-08-11 14:49:26 +02:00
shamoanjac
9feea540ee Fixed banners.on_dig() no checking for nil players 2016-08-09 18:28:57 +02:00
shamoanjac
c1311b2790 Real fix 2016-08-09 17:07:42 +02:00
shamoanjac
4af7e9c112 Fixed steel support craft recipe 2016-08-09 17:06:00 +02:00
shamoanjac
3a1cc409fe Changed default:wood to group:wood 2016-08-08 23:30:29 +02:00