Map events apart from the map: map_events/<map>/*.json of any mod merged by id (RpgMapEventResolver, RpgMapEventMerge); item Icon look for events; rpg_walk checks a pickup across leaving the map and loading a save

This commit is contained in:
cthangover committed 2026-10-23 19:09:37 +02:00
1 parent 281b722667
commit c4d6adf8fb
13 files changed
+396 -20

No files matched your search

@@ -0,0 +1,19 @@
{
"Events": [
{
"Id": "rpg_walk_mushroom",
"X": 18,
"Y": 14,
"Icon": "rpg_demo/forest_mushroom",
"Trigger": "Touch",
"Solid": false,
"Commands": [
"ptext \"Found: a mushroom\"",
"action item.add id=rpg_demo/mushroom count=1",
"flag rpg_village_rpg_walk_mushroom_taken 1",
"end"
],
"Condition": "rpg_village_rpg_walk_mushroom_taken != 1"
}
]
}