init
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
scene: home_kitchen
|
||||
priority: 8
|
||||
condition: true
|
||||
is_one_run: true
|
||||
---
|
||||
action gds.greet name=Always
|
||||
text "Fallback scene always runs."
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
scene: home_kitchen
|
||||
priority: 7
|
||||
condition: gds.flag_equals("victory")
|
||||
is_one_run: true
|
||||
---
|
||||
set custom_flag=victory
|
||||
action gds.inventory_demo item_id=health_potion
|
||||
text "GDScript condition with args and inventory action executed."
|
||||
end
|
||||
@@ -0,0 +1,9 @@
|
||||
scene: home_kitchen
|
||||
priority: 6
|
||||
condition: gds.is_rain
|
||||
is_one_run: true
|
||||
---
|
||||
set weather=rain
|
||||
action gds.greet name=RainVisitor
|
||||
text "It's raining! GDScript condition gds.is_rain passed."
|
||||
end
|
||||
@@ -0,0 +1,10 @@
|
||||
scene: home_kitchen
|
||||
priority: 5
|
||||
condition: true
|
||||
is_one_run: true
|
||||
---
|
||||
set my_name=Marao
|
||||
action gds.greet name=my_name
|
||||
action gds.quest_log quest_id=test_quest message=Scenario started from GDScript
|
||||
text "GDScript test actions executed. Check logs."
|
||||
end
|
||||
Reference in New Issue
Block a user