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