Commit Graph

131 Commits

Author SHA1 Message Date
Sokomine
5c9b633546 moved fs_edit_options_dialog.lua functions into extra file 2021-06-02 19:19:57 +02:00
Sokomine
b491ec46de moved general formspec functions to show_fs.lua 2021-06-02 19:10:58 +02:00
Sokomine
7b12a37efe fixed deleting tades associated with dialog options 2021-06-02 18:05:40 +02:00
Sokomine
e6f9dbac67 made trade dialog more consistant for dialog option trades in edit mode or normal mode 2021-06-02 16:57:33 +02:00
Sokomine
33c79b4af0 added button back to trade list for dialog option trades 2021-06-02 03:54:30 +02:00
Sokomine
d70c94f2d7 made link to add trades in inventory more clear 2021-06-02 02:57:50 +02:00
Sokomine
5381dfccbc show 'Sold out' for the right trade 2021-06-02 01:32:06 +02:00
Sokomine
a62b898020 allow to toggle between trades attached to dialog options and those in the trade list 2021-06-02 01:29:16 +02:00
Sokomine
ae5107b1ea added better hint as to where to add trades 2021-06-02 01:02:22 +02:00
Sokomine
26fb546bf7 count trades properly so that the right target dialog can be choosen 2021-06-02 01:00:34 +02:00
Sokomine
a8c9321672 catch some error conditions 2021-06-02 00:56:46 +02:00
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