Commit Graph

17 Commits

Author SHA1 Message Date
SmallJoker e7798768d4 Restrict title edit access to owner, fixes #11 2017-12-04 20:33:36 +01:00
SmallJoker 3f029c82d6 No ore generation by default, remove Coin base
Shop: limit title length to 80 characters
Do not list ore nodes in creative inventory
10 MineNinths for a new player on start (previously 2)
Replace bitchange privilege with protection_bypass
Revert to classic 16px shop texture & run OptiPNG
2017-11-25 11:46:32 +01:00
SmallJoker 0fbda6a40f Shop: Improve code readability
Make the entire code portable to other, custom mods
Correct register_on_dieplayer to register_on_leaveplayer
Do not close shop formspec when setting the title using enter
2017-08-07 16:57:45 +02:00
SmallJoker bf68097a75 Shop: Avoid unhandled leftovers from ItemStack:add_item
Pre-fix if https://github.com/minetest/minetest/pull/5774 gets merged somewhen
Thanks to @nybble41 for providing this code
2017-06-03 19:35:18 +02:00
Foz 3814d994db Fix handling of empty stacks and item accumulation
Fixes SmallJoker/bitchange#9
2017-02-17 19:17:10 +01:00
Foz 6f9cc0081a Prevent shops from trading tools deceptively
This limits the tools a shop will accept or give to those whose wear is less
than or equal to the tool shown in the Owner needs or Owner gives lists. This
protects both owners and customers from unfair trades. Owners are protected
from receiving worn out tools when a new tool is placed in the needs list.
Customers are protected from receiving worn out tools when a new one is placed
in the give list.
2017-01-31 19:51:35 +01:00
SmallJoker 70f31b7631 Shop: Clean up code, fix item repair cheat 2016-12-09 19:20:19 +01:00
SmallJoker b49ba5dc14 Shop: Allow server admins to open the owner formspec of shops
Clean up the position entry on leave
Add wrench support
2016-10-16 09:17:33 +02:00
SmallJoker 498d97a8bc shop: Add listring 2016-04-18 20:37:50 +02:00
tenplus1 db64a14cdc Quick fix
To stop crashing with nil instead of pos.
2016-04-02 12:24:18 +01:00
SmallJoker 84f1b0f330 💥 Break old settings
- Rename bitchange_ -> bitchange.
- Better coding style
- Run OptiPNG
2015-04-16 15:06:22 +02:00
SmallJoker 20fcf0a0a0 HAAAANDS 2014-11-29 18:44:38 +01:00
SmallJoker 45931b8718 It needed an update - there's it. 2014-05-07 16:28:01 +02:00
SmallJoker 808593bfba Formspec cleanup 2014-04-10 11:22:43 +02:00
SmallJoker eec023f449 Donation box, a better saving, serval updates 2014-02-23 17:33:46 +01:00
SmallJoker 1a68fcbdc8 Cleanups, new node
Added tool repair node to .. repair tools with money
2014-01-18 11:40:06 +01:00
SmallJoker 807754a6e8 Upload 2014-01-08 17:02:04 +01:00