Sokomine
|
2b58aac1dc
|
trade_inv now calls extra functions so that the code can be changed at runtime with npc_talk_reload, too
|
2022-10-01 22:43:35 +02:00 |
|
Sokomine
|
3104889208
|
taking the purchase in a trade_simple inside an action finished the action successfully
|
2022-10-01 22:25:57 +02:00 |
|
Sokomine
|
712f19656e
|
fixed trade as an action (which shall work diffrently than trade from trade list)
|
2022-10-01 07:01:52 +02:00 |
|
Sokomine
|
5bd0bf23f3
|
fixed bug in trade_simple
|
2022-09-26 02:40:53 +02:00 |
|
Sokomine
|
d23335e6db
|
moved all minetest.register_on_* calls into register_once.lua and removed obsolete *.lua files
|
2022-09-14 21:54:25 +02:00 |
|
Sokomine
|
4067fd8f59
|
made delete button work for buy via button
|
2022-09-09 20:23:54 +02:00 |
|
Sokomine
|
1eb272ecb2
|
respect trade limits
|
2022-09-06 22:26:45 +02:00 |
|
Sokomine
|
b9e6a8a74c
|
allow to enter item name of price item instead of an example item
|
2022-08-28 23:47:25 +02:00 |
|
Sokomine
|
9358a27b03
|
fixed bug in trading where the npc could sell when out of stock
|
2022-08-16 05:53:14 +02:00 |
|
Sokomine
|
9c95aa2074
|
implemented trading via buy button in yl_speak_up.do_trade_direct (plus showing how many times traded)
|
2022-08-16 05:42:44 +02:00 |
|
Sokomine
|
b313f6fd98
|
added a button for buying directly in a trade
|
2022-08-16 05:06:43 +02:00 |
|
Sokomine
|
e04bc0c8d9
|
added frame to simple trade and made sold out indicator nicer
|
2022-04-17 02:03:43 +02:00 |
|
Sokomine
|
45336ed4d4
|
eliminated undeclared global variable o_id
|
2022-01-06 17:38:02 +01:00 |
|
Sokomine
|
48482ce23f
|
wielded items can now be set using inventory slots
|
2021-07-26 01:25:29 +02:00 |
|
Sokomine
|
5fecab3ed7
|
implemented part of npc_gives/npc_wants item handling
|
2021-06-19 02:23:43 +02:00 |
|
Sokomine
|
9ed4cfc92d
|
added yl_speak_up.execute_next_action and general action handling
|
2021-06-18 04:36:59 +02:00 |
|
Sokomine
|
5f652f62ae
|
added save function for actions of type trade
|
2021-06-16 01:36:50 +02:00 |
|
Sokomine
|
a1ce1db375
|
preparations/formspecs for npc_wants/npc_gives
|
2021-06-14 01:12:12 +02:00 |
|
Sokomine
|
6588ef4cdb
|
fix crash when deleting non-existant trade
|
2021-06-06 00:18:01 +02:00 |
|
Sokomine
|
e52d219204
|
added yl_speak_up.inventory_allow_item for formspec error messages instead of chat messages
|
2021-06-02 23:18:20 +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
|
26fb546bf7
|
count trades properly so that the right target dialog can be choosen
|
2021-06-02 01:00:34 +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
|
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
|
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
|
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 |
|