Commit Graph

73 Commits

Author SHA1 Message Date
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
Sokomine
4c4992f985 fixed bug in initial configuration 2021-05-17 02:28:11 +02:00
Sokomine
ec40c4c1a2 added yl_speak_up tag to inventory modification logfile entries 2021-05-17 01:01:52 +02:00
Sokomine
2b2a12a5b1 log modificiations to the inventory of npc 2021-05-17 00:45:33 +02:00
Sokomine
0efa7f4f63 added inventory to npc which is stored to disk 2021-05-17 00:15:59 +02:00
Sokomine
5fe7991599 added mobs in depends.txt as mobs_redo is required 2021-05-16 22:30:00 +02:00
Sokomine
ff6a3faca4 use just one register_on_player_receive_fields function - that also returns properly true instead of nil as before 2021-05-16 22:00:52 +02:00
Sokomine
8a685dc211 handled undeclared globals 2021-05-14 23:23:26 +02:00
Sokomine
fca1cf5251 changed initial text in order to demonstrate how the replacements work 2021-05-14 23:04:06 +02:00
Sokomine
d1e53e949f removed special code for apple quest 2021-05-14 22:21:47 +02:00
Sokomine
cfb9987911 removed unused functions 2021-05-14 22:17:07 +02:00
Sokomine
1e1e4d8312 added security priv checks for staff functions 2021-05-14 22:15:37 +02:00
Sokomine
2096912134 added logging 2021-05-14 22:10:04 +02:00
Sokomine
26e3655c10 fixed bug with discarding new dialog 2021-05-14 14:55:42 +02:00
Sokomine
0184fe6337 added simple replacements for player name, npc name, owner name, time of day 2021-05-12 16:30:25 +02:00
Sokomine
771b980356 integrated function of the fashion button into menu 2021-05-11 19:57:18 +02:00
Sokomine
1350d35bbd mentionned mute in README.md 2021-05-11 13:09:48 +02:00
Sokomine
fa4b9ae773 added README.md 2021-05-11 13:07:24 +02:00
Sokomine
17b4ed455c added npc_talk_master 2021-05-11 13:07:12 +02:00
Sokomine
c271a3480e provide right id for talk check 2021-05-10 20:05:56 +02:00
Sokomine
c14fd79c48 determine npc_owner ealier so that talking to muted owned npc works 2021-05-10 19:58:56 +02:00
Sokomine
9b98d3fd21 allow to mute/unmute the npc via talking 2021-05-10 19:24:41 +02:00
Sokomine
052b6ab73f added function yl_speak_up.may_edit_npc for checking players privs 2021-05-10 19:00:45 +02:00
Sokomine
ab1c8de031 prepared buttons for muting/unmuting npc 2021-05-10 18:55:14 +02:00
Sokomine
0c7f4a4db9 added yl_speak_up.update_nametag and yl_speak_up.set_muted for colored nametags depending on muted state 2021-05-10 14:34:47 +02:00
Sokomine
4e16cc760a fixed bug in tools when pointing at players; used a function instead of cut&paste 2021-05-09 17:25:41 +02:00
Sokomine
573753b80d report multiple dialog results and refuse edit in such a disambigous case 2021-05-09 16:51:24 +02:00
Sokomine
fcebadf6c4 fixed crash 2021-05-08 22:32:45 +02:00
Sokomine
5db7b9c909 added limit for amount of option/answers per dialog 2021-05-08 21:06:27 +02:00
Sokomine
63653d4dbd allow to delete empty dialogs 2021-05-08 20:46:27 +02:00
Sokomine
8a7a2a5d0b allowed to change start dialog 2021-05-08 18:22:55 +02:00
Sokomine
b09b4e5bf5 improved sorting of dialog list by d_sort 2021-05-08 17:22:12 +02:00
Sokomine
e262e3fb9a made yl_speak_up.get_sorted_options more flexible 2021-05-08 16:31:57 +02:00
Sokomine
e8ce4b1c23 made name and description editable after initial config 2021-05-08 16:00:45 +02:00
Sokomine
726a6cbcf2 made changelog better readable when asking for save/back/discard 2021-05-08 14:38:16 +02:00
Sokomine
a780a70d97 used formspec_escape wherever necessary 2021-05-08 14:35:57 +02:00
Sokomine
f1bd0cb8a0 ask for save/discard/back only when actually switching to a diffrent dialog 2021-05-06 19:22:17 +02:00
Sokomine
ca438dd71b adding a new dialog no longer asks for save/discard/back 2021-05-06 18:50:21 +02:00
Sokomine
a7d9ab5eb2 support changes to o_sort 2021-05-05 20:42:35 +02:00
Sokomine
f88ef64f7f made delete option work 2021-05-05 17:09:49 +02:00
Sokomine
2107b7833a added yl_speak_up.get_sorted_options for sorting by o_sort; used for prev and next buttons in option edit menu 2021-05-05 16:39:17 +02:00
Sokomine
73d16ae76a do not crash in case of error 2021-05-04 20:13:12 +02:00
Sokomine
d1ba5f1ce5 set nametag etc. 2021-05-04 19:20:44 +02:00
Sokomine
50591119c7 show who owns the npc; limit length of name and description to 40 characters 2021-05-04 19:14:52 +02:00
Sokomine
26ad9b3c5a allow to setup the npc without a staff 2021-05-04 18:57:53 +02:00
Sokomine
846009470a moved hide/grey out/alternate text and alternate text to yl_speak_up.edit_mode_apply_changes as well 2021-05-04 16:14:16 +02:00
Sokomine
dd1dee0fdc let yl_speak_up.edit_mode_apply_changes handle all changes done by either dialog or option edit menu 2021-05-04 14:40:21 +02:00
Sokomine
a0c3a4c890 used helper variable n_id as abbreviation; reformatted code for changelog entries 2021-05-04 13:50:31 +02:00