Commit Graph

320 Commits

Author SHA1 Message Date
Sokomine
786ca77c7f moved rest of minetest.show_formspec to yl_speak_up.show_fs 2021-05-31 22:34:01 +02:00
Sokomine
85bdf88ba9 moved optionsdialog to yl_speak_up.show_fs 2021-05-31 22:16:51 +02:00
Sokomine
a6a2b3f566 moved setdialog to yl_speak_up.show_fs 2021-05-31 22:09:42 +02:00
Sokomine
60d17124b6 moved edit_options_dialog to yl_speak_up.show_fs 2021-05-31 21:52:04 +02:00
Sokomine
cf145bb07d moved talk to yl_speak_up.show_fs 2021-05-31 21:41:09 +02:00
Sokomine
4c9c66e7c1 moved frashion to yl_speak_up.show_fs 2021-05-31 21:35:50 +02:00
Sokomine
4095be4e43 added yl_speak_up.show_fs to combine almost all formspecs 2021-05-31 21:15:42 +02:00
Sokomine
caf72721b3 added yl_speak_up.show_fs_trade_list 2021-05-31 16:45:15 +02:00
Sokomine
bcf6a4062f added yl_speak_up.show_fs_add_trade_simple 2021-05-31 16:32:24 +02:00
Sokomine
cb7c2214b4 added yl_speak_up.show_fs_trade_simple 2021-05-31 16:26:12 +02:00
Sokomine
f772f6aa64 made edit button in trade in dialog options work again 2021-05-31 03:38:49 +02:00
Sokomine
71d4db6219 fixed bug with trade not showing up as Ef tag - added Tr tag if there are no effects 2021-05-31 00:07:45 +02:00
Sokomine
a9ddfb5a51 fixed bug on first click on add trade not working 2021-05-30 23:57:20 +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
3f80589e3e extended README.md regarding trade list 2021-05-30 19:11:09 +02:00
Sokomine
3e97d69189 show what is traded in effects list window in edit option mode 2021-05-30 18:15:36 +02:00
Sokomine
75bfa4e555 actually show trades that are associated with dialogs and options 2021-05-30 17:09:03 +02:00
Sokomine
9c513d5fd1 sort the entries in the trade list 2021-05-30 16:33:28 +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
7c8ccd066f added quick way from trade list to access inventory 2021-05-29 19:36:41 +02:00
Sokomine
90269a7e4f added priv check for inventory access 2021-05-29 19:36:15 +02:00
Sokomine
e820ce312e registered npc_talk_master priv 2021-05-29 19:35:27 +02:00
Sokomine
05a2384b20 save added and deleted trades in trade list to disk 2021-05-29 19:16:09 +02:00
Sokomine
3184c89506 made save_dialog accessible 2021-05-29 19:15:45 +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
08f6e0d309 explained trade list in README.md 2021-05-29 16:07:24 +02:00
Sokomine
466a5e617f added Let's trade button 2021-05-29 16:04:29 +02:00
Sokomine
d75b94c99d added trade list 2021-05-29 03:55:36 +02:00
Sokomine
0652cf7f5a removed unused variable 2021-05-28 22:00:07 +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
e38044c6ff actually call the trade dialog 2021-05-23 23:24:47 +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
6fc01ab754 get_fs_talkdialog no longer local; call yl_speak_up.input_do_trade_simple; added yl_speak_up.get_result_id_by_type; made show/edit trade work 2021-05-23 21:41:54 +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
2a9f772e10 described the staffs/tools and added a warning 2021-05-23 13:55:54 +02:00
Sokomine
eecdfdcc00 added function yl_speak_up.add_new_result 2021-05-23 13:15:27 +02:00
Sokomine
870751aaab added button in options edit menu for adding trades 2021-05-23 01:55:55 +02:00
Sokomine
2e2ede2ebf added yl_speak_up.input_add_trade_simple 2021-05-23 01:44:01 +02:00
Sokomine
39632a71f4 added yl_speak_up.check_stack_has_meta 2021-05-23 00:22:42 +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