David Leal
70a485f793
Add Travis CI and LuaCheck ( #5 )
2020-05-12 19:32:23 -05:00
David Leal
29fe3ac467
Improve readme.md
2019-09-23 21:08:45 -05:00
Obani Gemini
c517460951
Merge pull request #3 from Panquesito7/master
...
Create "mod.conf" for 5.0.0+
2019-08-24 03:09:58 +02:00
Panquesito7
fd26a1e5b1
Create mod.conf
2019-08-23 13:58:19 -05:00
crabman77
9596b2f435
fix crash if player leave and lag server
2016-09-08 19:34:28 +02:00
crabman77
269488f8c2
fix crash if close and open formspec very fast and server lag
...
Fix crash when closing and opening formspec very quickly and server lag
2016-06-20 18:42:16 +02:00
crabman77
852b4d9b0b
fix default max,
...
add shop General sell +10%$
add furnace shop
add mese, nyancat in shop ingots
2016-06-19 14:05:25 +02:00
crabman77
5a19d76074
better shop type, add max items quantity by default
2016-06-17 20:43:58 +02:00
Cyberpangolin
78ec0919c9
Small update on the price calculation
...
now prices are higher than on the first good formula (with the log) for less than 300 items,
and cheaper for more than 300 items. Probably better balanced, even if it means the difference between buy and sell increases a bit.
2016-06-14 11:27:08 +02:00
Cyberpangolin
8a1b0ec41d
update on the new calculation formula
...
to make it more understandable
2016-06-14 10:49:21 +02:00
Cyberpangolin
1036d5e539
changed the default stock of money to 1 million
...
Related to 53f48691b3
2016-06-14 10:24:28 +02:00
Cyberpangolin
53f48691b3
Replacing the way to calculate the prices.
...
The new formula is simpler, so easier to calculate, and gives better results at extremely high or low stocks values.
I keep as commentary the old formula just in case, it was a pain to write it ;)
1000000 is now a good money value at the very beggining of the shop.
2016-06-14 10:23:12 +02:00
crabman77
9ead7cc839
added whitelist item
...
added function additem/delitem
2016-06-13 23:25:06 +02:00
Cyberpangolin
55d73c330e
Update shop.lua
2016-06-13 22:49:51 +02:00
BUISSON-DEBON Quentin
f9e969d7f3
Add new textures => grey+noise
2016-06-13 20:50:04 +02:00
crabman77
4865c6b444
add rewrite bancomatic node( based on atm from https://github.com/minetest-mods/global_exchange )
2016-06-13 18:04:25 +02:00
crabman77
104d281fd9
add shop privs, others shop type, add shop type name in node formspec
2016-06-11 15:49:49 +02:00
Cyberpangolin
6ce6b42b92
Update readme.md
2016-06-11 15:46:08 +02:00
crabman77
3ba1431a70
readd maptools in depends, use maptools coins or defines coins
2016-06-11 02:04:11 +02:00
Cyberpangolin
ebe17cc9e3
Update price calculation to avoid big differences on very low prices.
...
add 0.5 to the calculated buying price before rounding it to make it more balanced at very low prices.
2016-06-10 22:52:26 +02:00
crabman77
9fb020b39a
add coins and add alias to maptools coins
...
add and compress textures
and more changes
2016-06-10 19:16:33 +02:00
crabman77
a5f384fc6a
optimize textures with trimage
...
move wear texture in formspec
change texture empty slot
2016-06-09 22:52:19 +02:00
crabman77
58c7496d7b
fix wrong code
2016-06-09 22:13:24 +02:00
crabman77
cb24bfea94
change default shop monnaie
...
rewrite buy formspec
add total count transactions in welcome formspec
rename wear textures
fix wrong price convertion
2016-06-09 21:50:54 +02:00
Cyberpangolin
0c0f8d9f2a
Add files via upload
2016-06-09 19:13:20 +02:00
crabman77
b45820a977
add wear textures and display tools wear in sell formspec
...
remove shop money in formspec
2016-06-09 01:15:09 +02:00
crabman77
a585697dcc
now we can select item type solded by shop
...
rewrite formspec
2016-06-08 22:29:27 +02:00
crabman77
29b7a0440b
add define price depending on wear
2016-06-08 12:40:27 +02:00
Cyberpangolin
09d48dc614
Update shop.lua
2016-06-07 21:32:26 +02:00
Cyberpangolin
87335c6f80
update convertion rate
2016-06-07 20:51:17 +02:00
Cyberpangolin
f5592f3f4b
Update readme.md
2016-06-07 19:10:18 +02:00
Cyberpangolin
58b9fb0194
Create LICENSE
2016-06-07 19:08:26 +02:00
Cyberpangolin
a50a326b84
Update readme.md
2016-06-06 19:52:46 +02:00
Cyberpangolin
dad79a0606
Update readme.md
2016-06-06 19:43:03 +02:00
Cyberpangolin
04f0931690
Update readme.md
2016-06-06 19:41:34 +02:00
Cyberpangolin
ae2b1c3865
Add maptools into the dependencies.
...
As we need coins, probably maptools is necessary :P
2016-06-06 19:36:14 +02:00
Cyberpangolin
dc30844e08
Update readme.md
2016-06-06 19:27:43 +02:00
Cyberpangolin
18d3e0a43d
Update readme.md
2016-06-06 19:27:21 +02:00
crabman77
bb25d17676
check items and ignore unbreakable/admin stuff
...
add a max stock, shop don't buy infinity items
2016-06-06 02:02:27 +02:00
crabman77
2fffd84168
add background in formspec
...
fix can't buy/sell coins
fix bug item selled by float 1.2 items
fix if item stack by 1, buy only 1 item
money value equal coin craft (1 silver = 9 copper)
2016-06-04 22:55:24 +02:00
crabman77
ce3f17ca35
first commit
2016-05-24 22:34:56 +02:00