Commit Graph

742 Commits

Author SHA1 Message Date
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
Sokomine
0d7ae95ab6 save some changes in the options edit menu 2021-05-04 12:59:05 +02:00
Sokomine
319f05edc5 #8 and #10 fixed bug with d_options beeing nil 2021-05-04 00:36:15 +02:00
Sokomine
76ba4075d1 #6 and #7 fixed crash when adding a new dialog and discarding it 2021-05-04 00:28:28 +02:00
Sokomine
038650d90d #9 fixed undeclared globals 2021-05-03 23:54:47 +02:00
Sokomine
8ecdff27ed make sure the edit options formspec can't be closed accidentally 2021-05-03 21:03:19 +02:00
Sokomine
5e0b15389c make prev/next buttons work in option edit menu 2021-05-03 20:56:30 +02:00
Sokomine
9f9741cb44 added o_sort for options edit dialog 2021-05-03 19:06:57 +02:00
Sokomine
1b9bfa8e14 fixed bug with target_dialog beeing nil; made back button in option edit menu work 2021-05-03 18:48:46 +02:00
Sokomine
af9edde36d added buttons to options edit menu; added color to table of preconditions/effects 2021-05-03 18:21:06 +02:00
Sokomine
cb90aab7f2 added formspec for editing individual options 2021-05-03 17:52:16 +02:00
Sokomine
fe5e5c40e8 added save/discard/back menu for saving changes 2021-05-02 17:43:17 +02:00
Sokomine
8c732e2dc4 send debug information to the player that is editing instead of singleplayer 2021-05-01 14:55:11 +02:00
Sokomine
9a0dc0a1fe allow adding new dialogs with the target_dialog dropdown 2021-05-01 14:11:10 +02:00
Sokomine
5ed1b1e2dc removed most debug chats for singleplayer 2021-05-01 14:02:14 +02:00
Sokomine
90adb09fab corrected identation 2021-05-01 14:00:53 +02:00
Sokomine
c34ef26c04 make + button and New dialog option in dialog select dropdown work 2021-05-01 13:57:48 +02:00
Sokomine
20f3b3c831 allow to set owner if player has npc_master priv; allow to edit own npc with npc_talk_owner priv 2021-05-01 11:11:58 +02:00
Sokomine
3b90b1bb5d apply edit changes but don't store permanent yet 2021-04-30 21:26:48 +02:00
Sokomine
787550eca1 turning edit mode on/off restarts the chat at the first dialog 2021-04-29 17:06:39 +02:00
Sokomine
a9259ed3ba made dialog selection dropdown menu and prev/next dialog buttons work 2021-04-29 15:17:31 +02:00
Sokomine
e40c464af8 first draft of alternate edit mode for players with npc_talk_owner priv 2021-04-27 22:17:09 +02:00
207cd3da43 Add Documentation 2020-11-21 19:15:58 +01:00
04dd3d514d first commit 2020-11-20 11:45:50 +01:00