Commit Graph

526 Commits

Author SHA1 Message Date
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
Sokomine
0d86db2088 fixed unregistered global 2022-07-14 20:01:52 +02:00
Sokomine
4e4ae0da9e always show show-me-your-inventory to owner 2022-07-14 03:22:24 +02:00
Sokomine
b251e27830 show head in formspec for npc with only one texture as well 2022-07-13 19:03:11 +02:00
Sokomine
6e35b01bd5 added yl_speak_up.enable_yl_mobs config option 2022-07-12 22:54:08 +02:00
Sokomine
dad8ebb81c adjusted preview/fashin for npc with diffrent models and textures 2022-07-12 21:07:21 +02:00
Sokomine
80ce8d4892 implemented d_end 2022-07-11 19:48:50 +02:00
Sokomine
952111c7fe properly check privs of generic npc when used by other npc 2022-07-09 22:15:51 +02:00
Sokomine
48c722c943 allowed precondition "property" for generic npc 2022-07-09 21:35:46 +02:00
Sokomine
9bbd3e943c added some selections for precondition 'evaluate' 2022-06-27 00:00:08 +02:00
Sokomine
58329d03a1 fixed typo in file name 2022-06-26 23:30:44 +02:00