mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-06-20 06:08:03 +02:00
moved yl_speak_up.precondition_check_variable to exec_eval_*
This commit is contained in:
parent
7b8e7f7322
commit
9a89c678f0
@ -1,5 +1,13 @@
|
||||
-- This file contains what is necessary to execute/evaluate a precondition.
|
||||
|
||||
-- some internal ones...
|
||||
yl_speak_up.precondition_check_variable = {
|
||||
-- "- please select -", -- this is automaticly added to the var list
|
||||
"(internal) hour of ingame day", -- 2
|
||||
"(internal) player's health points", -- 3
|
||||
}
|
||||
|
||||
|
||||
-- this is called directly in yl_speak_up.get_fs_talkdialog
|
||||
-- it returns a list of options whose preconditions are fulfilled
|
||||
-- allow_recursion may be false - we need to avoid infinite loops
|
||||
|
@ -147,12 +147,6 @@ local values_operator = {"", "==", "~=", ">=", ">", "<=", "<", "not", "is_set",
|
||||
"more_than_x_seconds_ago","less_than_x_seconds_ago",
|
||||
"quest_step_done", "quest_step_not_done"}
|
||||
|
||||
-- some internal ones...
|
||||
yl_speak_up.precondition_check_variable = {
|
||||
-- "- please select -", -- this is automaticly added to the var list
|
||||
"(internal) hour of ingame day", -- 2
|
||||
"(internal) player's health points", -- 3
|
||||
}
|
||||
|
||||
|
||||
-- get the list of variables the player has read access to
|
||||
|
Loading…
Reference in New Issue
Block a user