Commit Graph

21 Commits

Author SHA1 Message Date
Sokomine
f772f6aa64 made edit button in trade in dialog options work again 2021-05-31 03:38:49 +02:00
Sokomine
cfd300ac5d fix crash 2021-05-30 21:21:43 +02:00
Sokomine
a6b7ff0d8e offer button back from trade to edit options 2021-05-30 20:59:58 +02:00
Sokomine
735553a937 always give items back when storing a trade; changed trade_id for trade list for better sorting; fixed bug with trade.trade_is_trade_list for storing temporal trade list 2021-05-30 19:14:48 +02:00
Sokomine
0c9d547401 added yl_speak_up.get_fs_add_trade_simple; trades are now always stored in dialog.trades instead of as results of options of dialogs 2021-05-30 01:43:46 +02:00
Sokomine
05a2384b20 save added and deleted trades in trade list to disk 2021-05-29 19:16:09 +02:00
Sokomine
4ab240df52 add trades again directly to the trade list 2021-05-29 19:06:35 +02:00
Sokomine
7fb42d95ab delete trades from trade_list even if not in edit mode 2021-05-29 18:02:57 +02:00
Sokomine
d75b94c99d added trade list 2021-05-29 03:55:36 +02:00
Sokomine
f3082b7637 show trade items above slot 2021-05-25 00:08:00 +02:00
Sokomine
c563603583 minor redesign of trade formspec 2021-05-24 23:59:52 +02:00
Sokomine
2e6ecf6006 added logging for succesful trades 2021-05-24 20:33:08 +02:00
Sokomine
878a5b6c23 renamed Finished trading button 2021-05-24 20:21:02 +02:00
Sokomine
ec23d8ac01 removed autofill/autorefill in pay slot 2021-05-24 20:18:20 +02:00
Sokomine
6f5a84e6de handle edit mode in trade_simple correctly 2021-05-23 23:24:21 +02:00
Sokomine
b1a6b6f628 call the right formspec on trade inventory actions 2021-05-23 23:15:02 +02:00
Sokomine
0ccbd774a1 handle fields.finished_trading 2021-05-23 21:39:16 +02:00
Sokomine
3c79ad9491 added yl_speak_up.input_do_trade_simple, store and delete of a trade and store information dialog 2021-05-23 21:10:18 +02:00
Sokomine
2e2ede2ebf added yl_speak_up.input_add_trade_simple 2021-05-23 01:44:01 +02:00
Sokomine
8f80fd5ade only undammaged items are acceptable for trading; the npc only takes undammaged items and those without metadata for his inventory 2021-05-22 21:34:37 +02:00
Sokomine
53496c7369 added formspecs for simple trade 2021-05-22 19:49:09 +02:00