Commit Graph

37 Commits

Author SHA1 Message Date
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
volkj
b52f70c09d "deprecated" Warning removal and code cleanup
substitute deprecated tile_images and height_min/max with the new ones
2016-11-09 19:14:11 +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
e7425e19e9 Extend README.md, rename to README.txt 2015-10-09 09:11:20 +02:00
SmallJoker
307f7fb823 Add noise and sharpen the textures 2015-10-09 08:56:22 +02:00
SmallJoker
3befc29ac8 Typo in init.lua line 61 2015-05-16 10:00:46 +02:00
SmallJoker
e28d5e58bd Kill them all 2015-04-16 15:09:16 +02: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
5761f2d9fe Delete 16px textures, clean up bank and variable names 2014-10-01 13:41:22 +02: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
32011311b6 Do not save 2014-04-08 15:12:32 +02:00
SmallJoker
eec023f449 Donation box, a better saving, serval updates 2014-02-23 17:33:46 +01:00
SmallJoker
f846f5624c Add new configuration loading 2014-02-07 13:35:02 +01:00
SmallJoker
525a89c653 Little update 2014-02-07 13:33:59 +01:00
SmallJoker
1adddcd492 Freeminer support 2014-02-06 20:42:01 +01:00
SmallJoker
fecfaaf975 Updatez 2014-02-06 20:40:41 +01:00
SmallJoker
2d36903ffe Small bugfix 2014-01-23 20:51:45 +01:00
SmallJoker
c0f291ecf3 Money converting updates 2014-01-23 18:59:45 +01:00
SmallJoker
78f27c4bd9 Cheaper repair 2014-01-19 09:54:44 +01:00
SmallJoker
422d29d765 How to use tool repair 2014-01-18 18:33:58 +01:00
SmallJoker
acff3661d3 Changes etc 2014-01-18 15:39:01 +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
73161dbd9f Cleanups 2014-01-17 15:24:46 +01:00
SmallJoker
a1891dbe70 Higher factors for exchanging 2014-01-17 15:10:26 +01:00
SmallJoker
bfc7a18a88 New coin texture 2014-01-17 14:54:10 +01:00
SmallJoker
807754a6e8 Upload 2014-01-08 17:02:04 +01:00
SmallJoker
1258e0a4de Update README.md 2014-01-08 16:56:29 +01:00
SmallJoker
8fddaeffd4 Update README.md 2014-01-08 16:55:59 +01:00
SmallJoker
a16f330087 Initial commit 2014-01-08 07:53:32 -08:00