Some fix about scene script and quest (#2029)

* [ScriptLib] Query player when not get entity from scene

* Fix NPE when doing quests

* Add QUEST_CONTENT_SKILL trigger

Q353 need it

* Add some missing fields that contain in scene scripts

* Add a lua table serializer implement with jackson

This do not replace the original one,it is useful when debug

* Fix point_array type error

* feat: fix space
This commit is contained in:
ZanyRain
2023-02-10 00:10:07 +08:00
committed by GitHub
parent ab5b49b7c5
commit 3b29ba032e
15 changed files with 288 additions and 35 deletions

View File

@@ -10,6 +10,9 @@ public class SceneTrigger {
public String source;
public String condition;
public String action;
public boolean forbid_guest;
public int trigger_count;
public String tlog_tag;
public transient SceneGroup currentGroup;
@Override
@@ -34,6 +37,8 @@ public class SceneTrigger {
", source='" + source + '\'' +
", condition='" + condition + '\'' +
", action='" + action + '\'' +
", forbid_guest='" + forbid_guest + '\'' +
", trigger_count='" + trigger_count + '\'' +
'}';
}
}