Commit Graph

536 Commits

Author SHA1 Message Date
Sokomine
0b26af1287 added limit handling to trade formspec 2022-09-05 07:00:55 +02:00
Sokomine
e7d82c1d52 prepare dialog.trades before actually starting to talk 2022-09-04 06:17:20 +02:00
Sokomine
1a7184420a fixed typo 2022-09-04 06:16:08 +02:00
Sokomine
e842960830 added yl_speak_up.get_one_npc_property; added yl_speak_up.get_npc_properties_long_version for easier access to properties 2022-09-04 06:12:41 +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
b7d0f88790 properties starting with "server" can only be changed manually by players with the npc_master priv 2022-08-07 23:18:35 +02:00
Sokomine
5da08359cb added update regarding custom actions to README.md 2022-08-07 22:06:26 +02:00
Sokomine
48e5af991c added code_input_handler for actions of type "evaluate" 2022-08-07 21:13:20 +02:00
Sokomine
3cd6077efd moved another function inside exec_actions.lua 2022-08-07 20:58:24 +02:00
Sokomine
49c2c49d6d just moved a function inside exec_actions.lua 2022-08-07 20:55:57 +02:00
Sokomine
77c05631eb removed obsolete action "custom" (use the new "evaluate" instead) 2022-08-07 20:49:09 +02:00
Sokomine
4dfa9f2ed3 added new action type "evaluate" similar to preconditions and effects 2022-08-07 20:06:04 +02:00
Sokomine
c79999ebf4 implemented some example custom functions 2022-08-02 22:19:31 +02:00
Sokomine
5f98cecfaf bugfix - d_end exists as well and needs to be treated specially 2022-08-02 21:41:28 +02:00
Sokomine
2355669761 handled edge case in npc_talk_generic 2022-08-02 21:41:05 +02:00
Sokomine
87e3bc9176 added mobs_redo sheep and cow as example 2022-08-02 18:22:48 +02:00
Sokomine
3882c6263e removed precondition operator true_for_param and false_for_param because that can be better handled by precondition evaluate 2022-08-02 18:22:17 +02:00
Sokomine
1e828a1792 minor bugfixes 2022-07-28 03:38:31 +02:00
Sokomine
a5bb692533 removed obsolete effect "custom" (use evaluate instead) 2022-07-27 03:38:49 +02:00
Sokomine
7deca89a5d finished implementation of effect "evaluate" 2022-07-27 03:32:26 +02:00
Sokomine
dae9e308b4 finished implementation of precondition "evaluate" 2022-07-27 01:05:47 +02:00
Sokomine
073b9d4284 edit and store preconditions of type "evaluate" 2022-07-26 23:43:06 +02:00
Sokomine
f00a7752d8 show the full name of the function description for evaluate preconditions/effects 2022-07-25 19:39:18 +02:00
Sokomine
fdc4464fd2 removed deprecated precondition "custom" - use "evaluate" instead 2022-07-25 19:09:20 +02:00
Sokomine
6b3e4f8fd8 catch bug when an added option is discarded 2022-07-25 18:40:14 +02:00
Sokomine
cc5bfd01f6 added function +read_skins_and_capes_from_folders to read textures on your land server 2022-07-23 00:17:18 +02:00
Sokomine
afe92d9e17 removed obsolete functions 2022-07-22 23:54:59 +02:00
Sokomine
8dfe86802b added function yl_speak_up.mesh_update_textures 2022-07-22 23:36:27 +02:00
Sokomine
e062eec580 rewrote fasion_extended formspec 2022-07-22 23:25:40 +02:00
Sokomine
533c382ee4 moved skin_preview.lua back into fs_fashion.lua 2022-07-22 21:57:21 +02:00
Sokomine
4cc0de610d show model-based preview 2022-07-22 21:42:03 +02:00
Sokomine
11617d422d added model based skin preview 2022-07-22 21:41:44 +02:00
Sokomine
54b20b1196 fixed skin_preview.lua 2022-07-22 20:21:14 +02:00
Sokomine
57e8bc7352 apply textures2skin for skins with wielded items 2022-07-21 20:04:27 +02:00
Sokomine
927adfb627 added some checks to fs_fashion.lua 2022-07-21 19:47:30 +02:00
Sokomine
5432064ae0 if an NPC supports follow/stand/wander is now a config option 2022-07-21 17:40:15 +02:00
Sokomine
72c68fd261 fallback if no skins are defined for an npc 2022-07-21 00:47:05 +02:00
Sokomine
42e16d0e8b made the old fashion formspec fashion_extended for wielded items 2022-07-21 00:34:46 +02:00
Sokomine
fe4eb48822 individual skins and preview functions depending on model and npc 2022-07-20 21:57:33 +02:00
Sokomine
0a52637271 added improved skin selection depending on model/mesh 2022-07-19 21:02:48 +02:00
Sokomine
4953f23737 moved edit options for main text into extra function in fs_talkdialog.lua 2022-07-18 21:39:42 +02:00
Sokomine
c92db604d2 moved edit buttonss into extra function in fs_talkdialog.lua 2022-07-18 20:06:43 +02:00
Sokomine
8a921180cd buttons/lines with options/answers are now handled by extra function in fs_talkdialog.lua 2022-07-18 19:50:15 +02:00
Sokomine
1d06c2a825 reformatted fs_talkdialog.lua 2022-07-18 19:19:21 +02:00
Sokomine
aec252c323 add buttons to make npc follow, stand or wander 2022-07-18 04:03:27 +02:00
Sokomine
f3be11f647 explained properties in README.md 2022-07-17 19:19:12 +02:00
Sokomine
4c577280ac added handling of property changes through custom functions 2022-07-17 19:08:43 +02:00