From ceb2b8e31efda8bbffc17103c7b7105c2cd9e508 Mon Sep 17 00:00:00 2001 From: "Nut.andor" Date: Sun, 14 Dec 2025 21:30:38 +0100 Subject: [PATCH] Teleport redesigned --- .../AndorsTrail/activity/DebugInterface.java | 456 ++--------- .../res/raw/actorconditions_debug.json | 45 -- .../res/raw/conversationlist_debug.json | 726 +++++++----------- AndorsTrail/res/raw/droplists_debug.json | 183 ----- AndorsTrail/res/raw/itemlist_debug.json | 197 ----- AndorsTrail/res/raw/monsterlist_debug.json | 135 ---- AndorsTrail/res/values/loadresources.xml | 2 + AndorsTrail/res/xml/debugmap.tmx | 240 +++--- 8 files changed, 450 insertions(+), 1534 deletions(-) diff --git a/AndorsTrail/app/src/main/java/com/gpl/rpg/AndorsTrail/activity/DebugInterface.java b/AndorsTrail/app/src/main/java/com/gpl/rpg/AndorsTrail/activity/DebugInterface.java index b793e32cf..aea0ac98e 100644 --- a/AndorsTrail/app/src/main/java/com/gpl/rpg/AndorsTrail/activity/DebugInterface.java +++ b/AndorsTrail/app/src/main/java/com/gpl/rpg/AndorsTrail/activity/DebugInterface.java @@ -29,9 +29,6 @@ public final class DebugInterface { private final WorldContext world; private DebugButton[] buttons; - private List tpButtons = new ArrayList(); - private List tpButtons2 = new ArrayList(); - private List tpButtons3 = new ArrayList(); public DebugInterface(ControllerContext controllers, WorldContext world, MainActivity mainActivity) { this.controllerContext = controllers; @@ -53,36 +50,23 @@ public final class DebugInterface { for (int i = 1; i < buttons.length; i++) { buttons[i].b.setVisibility(hidden ? View.GONE : View.VISIBLE); } - for (DebugButton b : tpButtons) { - b.b.setVisibility(View.GONE); - } - for (DebugButton b : tpButtons2) { - b.b.setVisibility(View.GONE); - } - for (DebugButton b : tpButtons3) { - b.b.setVisibility(View.GONE); - } } }) ,new DebugButton("teleport", new OnClickListener() { - public void onClick(View arg0) { - for (int i = 0; i < buttons.length; i++) { - buttons[i].b.setVisibility(View.GONE); - } - for (DebugButton tpButton : tpButtons) { - tpButton.b.setVisibility(View.VISIBLE); - } - } - }) + @Override + public void onClick(View arg0) { + controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "debugmap", "entry", 0, 0); + } + }) ,new DebugButton("dmg", new OnClickListener() { - @Override - public void onClick(View arg0) { - world.model.player.damagePotential.set(500, 500); - world.model.player.attackChance = 500; - world.model.player.attackCost = 1; - showToast(mainActivity, "DEBUG: damagePotential=500, chance=500%, cost=1", Toast.LENGTH_SHORT); - } - }) + @Override + public void onClick(View arg0) { + world.model.player.damagePotential.set(500, 500); + world.model.player.attackChance = 500; + world.model.player.attackCost = 1; + showToast(mainActivity, "DEBUG: damagePotential=500, chance=500%, cost=1", Toast.LENGTH_SHORT); + } + }) /*,new DebugButton("dmg=1", new OnClickListener() { @Override public void onClick(View arg0) { @@ -91,378 +75,78 @@ public final class DebugInterface { } })*/ ,new DebugButton("itm", new OnClickListener() { - @Override - public void onClick(View arg0) { - for (ItemType item : world.itemTypes.UNITTEST_getAllItemTypes().values()) { - world.model.player.inventory.addItem(item, 10); - } - world.model.player.inventory.gold += 50000; - showToast(mainActivity, "DEBUG: added items", Toast.LENGTH_SHORT); - } - }) + @Override + public void onClick(View arg0) { + for (ItemType item : world.itemTypes.UNITTEST_getAllItemTypes().values()) { + world.model.player.inventory.addItem(item, 10); + } + world.model.player.inventory.gold += 50000; + showToast(mainActivity, "DEBUG: added items", Toast.LENGTH_SHORT); + } + }) ,new DebugButton("xp", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.actorStatsController.addExperience(10000); - showToast(mainActivity, "DEBUG: given 10000 exp", Toast.LENGTH_SHORT); - } - }) + @Override + public void onClick(View arg0) { + controllerContext.actorStatsController.addExperience(10000); + showToast(mainActivity, "DEBUG: given 10000 exp", Toast.LENGTH_SHORT); + } + }) ,new DebugButton("rst", new OnClickListener() { - @Override - public void onClick(View arg0) { - for(PredefinedMap map : world.maps.getAllMaps()) { - map.resetTemporaryData(); - } - showToast(mainActivity, "DEBUG: maps respawned", Toast.LENGTH_SHORT); - } - }) + @Override + public void onClick(View arg0) { + for(PredefinedMap map : world.maps.getAllMaps()) { + map.resetTemporaryData(); + } + showToast(mainActivity, "DEBUG: maps respawned", Toast.LENGTH_SHORT); + } + }) ,new DebugButton("hp", new OnClickListener() { - @Override - public void onClick(View arg0) { - world.model.player.baseTraits.maxHP = 500; - world.model.player.health.max = world.model.player.baseTraits.maxHP; - controllerContext.actorStatsController.setActorMaxHealth(world.model.player); - world.model.player.conditions.clear(); - showToast(mainActivity, "DEBUG: hp set to max", Toast.LENGTH_SHORT); - } - }) + @Override + public void onClick(View arg0) { + world.model.player.baseTraits.maxHP = 500; + world.model.player.health.max = world.model.player.baseTraits.maxHP; + controllerContext.actorStatsController.setActorMaxHealth(world.model.player); + world.model.player.conditions.clear(); + showToast(mainActivity, "DEBUG: hp set to max", Toast.LENGTH_SHORT); + } + }) ,new DebugButton("skl", new OnClickListener() { - @Override - public void onClick(View arg0) { - world.model.player.availableSkillIncreases += 10; - showToast(mainActivity, "DEBUG: 10 skill points", Toast.LENGTH_SHORT); - } - }) + @Override + public void onClick(View arg0) { + world.model.player.availableSkillIncreases += 10; + showToast(mainActivity, "DEBUG: 10 skill points", Toast.LENGTH_SHORT); + } + }) ,new DebugButton("spd", new OnClickListener() { - boolean fast = Constants.MINIMUM_INPUT_INTERVAL == Constants.MINIMUM_INPUT_INTERVAL_FAST; - @Override - public void onClick(View arg0) { - fast = !fast; - if (fast) { - Constants.MINIMUM_INPUT_INTERVAL = Constants.MINIMUM_INPUT_INTERVAL_FAST; - } else { - Constants.MINIMUM_INPUT_INTERVAL = Constants.MINIMUM_INPUT_INTERVAL_STD; - } - MainView.SCROLL_DURATION = Constants.MINIMUM_INPUT_INTERVAL; - AndorsTrailApplication.getApplicationFromActivity(mainActivity).getControllerContext().movementController.resetMovementHandler(); - } - }) + boolean fast = Constants.MINIMUM_INPUT_INTERVAL == Constants.MINIMUM_INPUT_INTERVAL_FAST; + @Override + public void onClick(View arg0) { + fast = !fast; + if (fast) { + Constants.MINIMUM_INPUT_INTERVAL = Constants.MINIMUM_INPUT_INTERVAL_FAST; + } else { + Constants.MINIMUM_INPUT_INTERVAL = Constants.MINIMUM_INPUT_INTERVAL_STD; + } + MainView.SCROLL_DURATION = Constants.MINIMUM_INPUT_INTERVAL; + AndorsTrailApplication.getApplicationFromActivity(mainActivity).getControllerContext().movementController.resetMovementHandler(); + } + }) ,new DebugButton("map", new OnClickListener() { - @Override - public void onClick(View arg0) { - showToast(mainActivity, "DEBUG: map=" + world.model.currentMaps.map.name , Toast.LENGTH_SHORT); - } - }) + @Override + public void onClick(View arg0) { + showToast(mainActivity, "DEBUG: map=" + world.model.currentMaps.map.name , Toast.LENGTH_SHORT); + } + }) ,new DebugButton("tim", new OnClickListener() { - @Override - public void onClick(View arg0) { - world.model.worldData.tickWorldTime(10); - } - }) - })); - - tpButtons.addAll(Arrays.asList(new DebugButton[] { - new DebugButton("teleport", new OnClickListener() { @Override public void onClick(View arg0) { - for (DebugButton tpButton : tpButtons2) { - tpButton.b.setVisibility(View.VISIBLE); - } - for (DebugButton tpButton : tpButtons) { - tpButton.b.setVisibility(View.GONE); - } + world.model.worldData.tickWorldTime(10); } }) - ,new DebugButton("cg", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "crossglen", "hall", 0, 0); - } - }) - ,new DebugButton("vg", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "vilegard_s", "tavern", 0, 0); - } - }) - ,new DebugButton("cr", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "crossroads", "middle", 0, 0); - } - }) - ,new DebugButton("lf", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "loneford9", "south", 0, 0); - } - }) - ,new DebugButton("fh", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "fallhaven_ne", "clothes", 0, 0); - } - }) - ,new DebugButton("prm", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "blackwater_mountain29", "south", 0, 0); - } - }) - ,new DebugButton("bwm", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "blackwater_mountain43", "south", 0, 0); - } - }) - ,new DebugButton("rmg", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "remgard0", "east", 0, 0); - } - }) - ,new DebugButton("chr", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "waytolostmine2", "minerhouse4", 0, 0); - } - }) - ,new DebugButton("ldr", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "lodarhouse0", "lodarhouse", 0, 0); - } - }) - ,new DebugButton("sf", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "wild20", "south2", 0, 0); - } - }) - ,new DebugButton("gm", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "guynmart_wood_1", "farmhouse", 0, 0); - } - }) })); - buttonList.addAll(tpButtons); - - tpButtons2.addAll(Arrays.asList(new DebugButton[] { - new DebugButton("teleport", new OnClickListener() { - @Override - public void onClick(View arg0) { - for (DebugButton tpButton : tpButtons3) { - tpButton.b.setVisibility(View.VISIBLE); - } - for (DebugButton tpButton : tpButtons2) { - tpButton.b.setVisibility(View.GONE); - } - } - }) - ,new DebugButton("brv", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "brimhaven4", "south2", 0, 0); - } - }) - ,new DebugButton("aru", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "mountainlake5", "north", 0, 0); - } - }) - ,new DebugButton("ws", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "woodsettlement0", "east", 0, 0); - } - }) - ,new DebugButton("sul", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "sullengard2", "south", 0, 0); - } - }) - ,new DebugButton("gal", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "galmore_19", "south", 0, 0); - } - }) - - ,new DebugButton("apl", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "sullengard_apple_farm_east", "house", 0, 0); - } - }) - - ,new DebugButton("wch", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "lake_shore_road_0", "west", 0, 0); - } - }) - - ,new DebugButton("la1", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "laerothisland2", "south2", 0, 0); - } - }) - - ,new DebugButton("la2", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "island3", "cave", 0, 0); - } - }) - - ,new DebugButton("wx", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "wexlow_village", "north", 0, 0); - } - }) - - ,new DebugButton("fey", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "guynmart_wood_17", "north", 0, 0); - } - }) - - - })); - buttonList.addAll(tpButtons2); - - tpButtons3.addAll(Arrays.asList(new DebugButton[] { - new DebugButton("teleport", new OnClickListener() { - @Override - public void onClick(View arg0) { - for (int i = 0; i < buttons.length; i++) { - buttons[i].b.setVisibility(View.VISIBLE); - } - for (DebugButton tpButton : tpButtons) { - tpButton.b.setVisibility(View.GONE); - } - for (DebugButton tpButton : tpButtons2) { - tpButton.b.setVisibility(View.GONE); - } - for (DebugButton tpButton : tpButtons3) { - tpButton.b.setVisibility(View.GONE); - } - } - }) - ,new DebugButton("#1", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "lake_shore_road_9", "north", 5, 0); - } - }) - - ,new DebugButton("#2", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "undertell_3_lava_01", "west", 0, 0); - } - }) - - - ,new DebugButton("#3", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "galmore_cavea", "up", 0, 0); - } - }) - - ,new DebugButton("#4", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "galmore_35", "south", 11, 0); - } - }) - - ,new DebugButton("#5", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "way_to_sullengard_west_5", "east", 0, 5); - } - }) - - ,new DebugButton("#6", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "undertell_3_02", "east", 0, 0); - } - }) - - ,new DebugButton("#7", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "cabin_norcity_road1", "north", 5, 0); - } - }) - - ,new DebugButton("#8", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "wayto_feygard_duleian_2", "south", 0, 5); - } - }) - - ,new DebugButton("#9", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "galmore_58", "north", 0, 0); - } - }) - - ,new DebugButton("#10", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "moesforest_03", "north1", 0, 0); - } - }) - - ,new DebugButton("#11", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "galmore_17", "outside", 0, 0); - } - }) - - ,new DebugButton("#12", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "galmore_48", "west", 0, 10); - } - }) - - ,new DebugButton("#13", new OnClickListener() { - @Override - public void onClick(View arg0) { - controllerContext.movementController.placePlayerAsyncAt(MapObject.MapObjectType.newmap, "feygard_outside1", "south", 6, 0); - } - }) - - - })); - buttonList.addAll(tpButtons3); buttons = buttonList.toArray(new DebugButton[buttonList.size()]); addDebugButtons(buttons); - - for (DebugButton b : tpButtons) { - b.b.setVisibility(View.GONE); - } - for (DebugButton b : tpButtons2) { - b.b.setVisibility(View.GONE); - } - for (DebugButton b : tpButtons3) { - b.b.setVisibility(View.GONE); - } } private void showToast(Context context, String msg, int duration) { diff --git a/AndorsTrail/res/raw/actorconditions_debug.json b/AndorsTrail/res/raw/actorconditions_debug.json index 9e576b237..0d4f101c7 100644 --- a/AndorsTrail/res/raw/actorconditions_debug.json +++ b/AndorsTrail/res/raw/actorconditions_debug.json @@ -1,47 +1,2 @@ [ - { - "id": "chaotic_grip", - "iconID": "actorconditions_1:96", - "name": "Chaotic grip", - "category": "mental", - "abilityEffect": { - "increaseBlockChance": -10, - "increaseDamageResistance": -1 - } - }, - { - "id": "chaotic_test", - "iconID": "actorconditions_1:95", - "name": "Chaotic test", - "category": "mental", - "abilityEffect": { - "increaseBlockChance": -10, - "increaseDamageResistance": -1 - } - }, - { - "id": "chaotic_test2", - "iconID": "actorconditions_1:94", - "name": "Chaotic test2", - "category": "mental", - "abilityEffect": { - "increaseBlockChance": -10, - "increaseDamageResistance": -1 - } - }, - { - "id": "chaotic_curse", - "iconID": "actorconditions_1:89", - "name": "Chaotic curse", - "category": "mental", - "abilityEffect": { - "increaseMaxAP": -1, - "increaseAttackDamage": { - "min": -1, - "max": -1 - }, - "increaseBlockChance": -10, - "increaseDamageResistance": -1 - } - } ] diff --git a/AndorsTrail/res/raw/conversationlist_debug.json b/AndorsTrail/res/raw/conversationlist_debug.json index 0d748dffc..040b2b070 100644 --- a/AndorsTrail/res/raw/conversationlist_debug.json +++ b/AndorsTrail/res/raw/conversationlist_debug.json @@ -1,485 +1,313 @@ [ { - "id": "debugshop", - "message": "Welcome adventurer!", - "replies": [ - { - "text": "Trade items very very long text", - "nextPhraseID": "S" - }, - { - "text": "Bye", - "nextPhraseID": "X" - }, - { - "text": "Fight", - "nextPhraseID": "F" - } - ] + "id": "dbg_teleport", + "message": "Where do you want to travel?", + "replies": [{ "text": "Project Undertell", "nextPhraseID": "dbg_teleport_prj_undertell" }, + { "text": "Project Brightport", "nextPhraseID": "dbg_teleport_prj_brightport2" }, + { "text": "More Projects", "nextPhraseID": "dbg_teleport_prj" }, + { "text": "Crossglen", "nextPhraseID": "dbg_teleport_crossglen" }, + { "text": "Fallhaven", "nextPhraseID": "dbg_teleport_fallhaven" }, + { "text": "Vilegard", "nextPhraseID": "dbg_teleport_vilegard" }, + { "text": "Crossroads", "nextPhraseID": "dbg_teleport_crossroads" }, + { "text": "Loneford", "nextPhraseID": "dbg_teleport_loneford" }, + { "text": "BWM", "nextPhraseID": "dbg_teleport_bwm" }, + { "text": "Prim", "nextPhraseID": "dbg_teleport_prim" }, + { "text": "Remgard", "nextPhraseID": "dbg_teleport_remgard" }, + { "text": "Charwood", "nextPhraseID": "dbg_teleport_charwood" }, + { "text": "Lodar", "nextPhraseID": "dbg_teleport_lodar" }, + { "text": "Stoutford", "nextPhraseID": "dbg_teleport_stoutford" }, + { "text": "Feygard", "nextPhraseID": "dbg_teleport_feygard" }, + { "text": "Nor City", "nextPhraseID": "dbg_teleport_norcity" }, + { "text": "More locations", "nextPhraseID": "dbg_teleport_loc" }, + { "text": "Bye", "nextPhraseID": "X" }] }, { - "id": "debugquest", - "message": "Debug quest start\nTest.", - "rewards": [ - { - "rewardType": "questProgress", - "rewardID": "debugquest", - "value": 10 - } - ], - "replies": [ - { - "text": "Iron sword*2", - "nextPhraseID": "debugquest2", - "requires": [ - { - "requireType": "inventoryRemove", - "requireID": "dagger0", - "value": 1 - } - ] - }, - { - "text": "Progress+=10", - "nextPhraseID": "debugquest4" - }, - { - "text": "Progress=100", - "nextPhraseID": "debugquest1", - "requires": [ - { - "requireType": "questProgress", - "requireID": "debugquest", - "value": "100" - } - ] - } - ] + "id": "dbg_teleport_loc", + "message": "Other locations", + "replies": [{ "text": "Brightport", "nextPhraseID": "dbg_teleport_brightport" }, + { "text": "Guynmart", "nextPhraseID": "dbg_teleport_guynmart" }, + { "text": "Brimhaven", "nextPhraseID": "dbg_teleport_brimhaven" }, + { "text": "Arulir Mountain", "nextPhraseID": "dbg_teleport_arulir" }, + { "text": "Wood settlement", "nextPhraseID": "dbg_teleport_woodsettlement" }, + { "text": "Sullengard", "nextPhraseID": "dbg_teleport_sullengard" }, + { "text": "Mt. Galmore", "nextPhraseID": "dbg_teleport_galmore" }, + { "text": "Deebo's Apple Orchard", "nextPhraseID": "dbg_teleport_applefarm" }, + { "text": "Witch house", "nextPhraseID": "dbg_teleport_witchhouse" }, + { "text": "Lake Laeroth - Manor", "nextPhraseID": "dbg_teleport_laerot1" }, + { "text": "Lake Laeroth - Not Pony Island", "nextPhraseID": "dbg_teleport_laerot2" }, + { "text": "Wexlow Village", "nextPhraseID": "dbg_teleport_wexlow" }, + { "text": "Back", "nextPhraseID": "dbg_teleport" }] }, { - "id": "debugquest1", - "message": "Yes, you have already completed this quest.", - "rewards": [ - { - "rewardType": "dropList", - "rewardID": "debuglist1" - } - ], - "replies": [ - { - "text": "Next", - "nextPhraseID": "debugquest3" - } - ] + "id":"dbg_teleport_crossglen", + "rewards":[{ "rewardType":"mapchange", "rewardID":"hall", "mapName":"crossglen" }] }, { - "id": "debugquest2", - "message": "Thank you for the items.", - "rewards": [ - { - "rewardType": "questProgress", - "rewardID": "debugquest", - "value": 100 - } - ], - "replies": [ - { - "text": "Next", - "nextPhraseID": "debugquest3" - } - ] + "id":"dbg_teleport_fallhaven", + "rewards":[{ "rewardType":"mapchange", "rewardID":"clothes", "mapName":"fallhaven_ne" }] }, { - "id": "debugquest3", - "message": "Quest is now completed.", - "replies": [ - { - "text": "Bye", - "nextPhraseID": "X" - } - ] + "id":"dbg_teleport_vilegard", + "rewards":[{ "rewardType":"mapchange", "rewardID":"tavern", "mapName":"vilegard_s" }] }, { - "id": "debugquest4", - "message": "More info. Quest progress should now be updated to 20.", - "rewards": [ - { - "rewardType": "questProgress", - "rewardID": "debugquest", - "value": 20 - } - ], - "replies": [ - { - "text": "Back", - "nextPhraseID": "debugquest" - } - ] + "id":"dbg_teleport_crossroads", + "rewards":[{ "rewardType":"mapchange", "rewardID":"middle", "mapName":"crossroads" }] }, { - "id": "debugsign", - "message": "This should be a signpost." + "id":"dbg_teleport_loneford", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"loneford9" }] }, { - "id": "debugrequireskey", - "message": "This tile requires a quest progress." - }, - { - "id": "debugrequires10gold", - "replies": [ - { - "text": "Too bad.", - "nextPhraseID": "X" - }, - { - "text": "Well, gimme 10 gold then !", - "nextPhraseID": "debugrequires10gold_1" - } - ], - "message": "This tile costs 10 gold !" - }, - { - "id": "debugrequires10gold_1", - "replies": [ - { - "requires": [ - { - "requireType": "spentGold", - "requireID": "gold", - "value": 100 - } - ], - "nextPhraseID": "debugrequires10gold_3" - }, - { - "nextPhraseID": "debugrequires10gold_2" - } - ] - }, - { - "id": "debugrequires10gold_2", - "rewards": [ - { - "rewardType": "dropList", - "rewardID": "debugrequires10gold_droplist" - } - ], - "replies": [ - { - "text": "When I come to debugmap, I always feel like a star.", - "nextPhraseID": "X" - } - ], - "message": "OK. But only because it's you M. Coder." - }, - { - "id": "debugrequires10gold_3", - "replies": [ - { - "text": "Damn.", - "nextPhraseID": "X" - } - ], - "message": "Sorry. You already spent 100 gold..." - }, - { - "message":"Hmm... beer...", - "id":"signbeer" + "id":"dbg_teleport_prim", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"blackwater_mountain29" }] }, { - "message":"Do you want beer?", - "id":"npc3_0", - "replies":[ - { - "nextPhraseID":"npc3_1", - "text":"Beer!" - }, - { - "nextPhraseID":"npc3_3", - "text":"No filter!" - }, - { - "nextPhraseID":"npc3_5", - "text":"Black 20%!" - }, - { - "nextPhraseID":"npc3_6", - "text":"Black 40%!" - }, - { - "nextPhraseID":"npc3_7", - "text":"Black 60%!" - }, - { - "nextPhraseID":"npc3_2", - "text":"Black 80%!" - }, - { - "nextPhraseID":"npc3_4", - "text":"Red ligths!" - }, - { - "nextPhraseID":"npc3_9", - "text":"Green ligths!" - }, - { - "nextPhraseID":"npc3_10", - "text":"Blue ligths!" - }, - { - "nextPhraseID":"npc3_11", - "text":"Black & White!" - }, - { - "nextPhraseID":"npc3_8", - "text":"Invert!" - } - ] + "id":"dbg_teleport_bwm", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"blackwater_mountain43" }] }, { - "message":"Bees & beer !", - "id":"npc3_1", - "rewards":[ - { - "rewardID":"debug_insect_inactive", - "mapName":"debugmap", - "rewardType":"spawnAll" - }, - { - "rewardID":"Inactive", - "mapName":"debugmap", - "rewardType":"activateMapObjectGroup" - }, - { - "rewardID":"Active", - "mapName":"debugmap", - "rewardType":"deactivateMapObjectGroup" - } - ] + "id":"dbg_teleport_remgard", + "rewards":[{ "rewardType":"mapchange", "rewardID":"east", "mapName":"remgard0" }] }, { - "message":"No beer for you !", - "id":"signnobeer" + "id":"dbg_teleport_charwood", + "rewards":[{ "rewardType":"mapchange", "rewardID":"minerhouse4", "mapName":"waytolostmine2" }] }, { - "id":"npc3_2", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"black80", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_3", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"none", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_4", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"redtint", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_5", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"black20", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_6", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"black40", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_7", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"black60", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_8", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"invert", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_9", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"greentint", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_10", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"bluetint", - "mapName":"debugmap" - } - ] - }, - { - "id":"npc3_11", - "message":"OK.", - "rewards":[ - { - "rewardType":"changeMapFilter", - "rewardID":"bw", - "mapName":"debugmap" - } - ] - }, - { - "id":"chaotic_rewarder_0", - "message":"What do you want?", - "replies":[ - { - "text":"Apply condition", - "nextPhraseID":"chaotic_rewarder_1" - }, - { - "text":"Clear condition", - "nextPhraseID":"chaotic_rewarder_2" - }, - { - "text":"Give 5 rounds of immunity", - "nextPhraseID":"chaotic_rewarder_3" - }, - { - "text":"Infinite immunity", - "nextPhraseID":"chaotic_rewarder_4" - }, - { - "text":"Apply condition forever", - "nextPhraseID":"chaotic_rewarder_5" - } - ] + "id":"dbg_teleport_lodar", + "rewards":[{ "rewardType":"mapchange", "rewardID":"lodarhouse", "mapName":"lodarhouse0" }] }, { - "id":"chaotic_rewarder_1", - "message":"Applied.", - "replies":[ - { - "text":"N", - "nextPhraseID":"chaotic_rewarder_0" - } - ], - "rewards":[ - { - "rewardType":"actorCondition", - "rewardID":"chaotic_grip", - "value":5 - } - ] + "id":"dbg_teleport_stoutford", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south2", "mapName":"wild20" }] }, { - "id":"chaotic_rewarder_2", - "message":"Cleared.", - "replies":[ - { - "text":"N", - "nextPhraseID":"chaotic_rewarder_0" - } - ], - "rewards":[ - { - "rewardType":"actorCondition", - "rewardID":"chaotic_grip", - "value":-99 - } - ] + "id":"dbg_teleport_guynmart", + "rewards":[{ "rewardType":"mapchange", "rewardID":"farmhouse", "mapName":"guynmart_wood_1" }] }, { - "id":"chaotic_rewarder_3", - "message":"5 rounds immune!", - "replies":[ - { - "text":"N", - "nextPhraseID":"chaotic_rewarder_0" - } - ], - "rewards":[ - { - "rewardType":"actorConditionImmunity", - "rewardID":"chaotic_grip", - "value":5 - } - ] + "id":"dbg_teleport_brimhaven", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south2", "mapName":"brimhaven4" }] }, { - "id":"chaotic_rewarder_4", - "message":"Immune forever !", - "replies":[ - { - "text":"N", - "nextPhraseID":"chaotic_rewarder_0" - } - ], - "rewards":[ - { - "rewardType":"actorConditionImmunity", - "rewardID":"chaotic_grip", - "value":999 - } - ] + "id":"dbg_teleport_brightport", + "rewards":[{ "rewardType":"mapchange", "rewardID":"east", "mapName":"brightport1" }] }, { - "id":"chaotic_rewarder_5", - "message":"Punished forever !", - "replies":[ - { - "text":"N", - "nextPhraseID":"chaotic_rewarder_0" - } - ], - "rewards":[ - { - "rewardType":"actorCondition", - "rewardID":"chaotic_grip", - "value":999 - } - ] + "id":"dbg_teleport_arulir", + "rewards":[{ "rewardType":"mapchange", "rewardID":"north", "mapName":"mountainlake5" }] + }, + { + "id":"dbg_teleport_woodsettlement", + "rewards":[{ "rewardType":"mapchange", "rewardID":"woodhouse2", "east":"woodsettlement0" }] + }, + { + "id":"dbg_teleport_sullengard", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"sullengard2" }] + }, + { + "id":"dbg_teleport_galmore", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"galmore_19" }] + }, + { + "id":"dbg_teleport_applefarm", + "rewards":[{ "rewardType":"mapchange", "rewardID":"house", "mapName":"sullengard_apple_farm_east" }] + }, + { + "id":"dbg_teleport_witchhouse", + "rewards":[{ "rewardType":"mapchange", "rewardID":"north", "mapName":"lake_shore_road_0" }] + }, + { + "id":"dbg_teleport_laerot1", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south2", "mapName":"laerothisland2" }] + }, + { + "id":"dbg_teleport_laerot2", + "rewards":[{ "rewardType":"mapchange", "rewardID":"cave", "mapName":"island3" }] + }, + { + "id":"dbg_teleport_wexlow", + "rewards":[{ "rewardType":"mapchange", "rewardID":"north", "mapName":"wexlow_village" }] + }, + { + "id":"dbg_teleport_feygard", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"wayto_feygard_duleian_2" }] + }, + { + "id":"dbg_teleport_norcity", + "rewards":[{ "rewardType":"mapchange", "rewardID":"north", "mapName":"cabin_norcity_road4" }] + }, + { + "id": "dbg_teleport_prj_undertell", + "message": "*** undertell ***", + "replies": [{ "text": "Entry to mine", "nextPhraseID": "dbg_teleport_prj_undertell_entry" }, + { "text": "Heartstone area", "nextPhraseID": "dbg_teleport_prj_undertell_heartstone" }, + { "text": "Floor 1", "nextPhraseID": "dbg_teleport_prj_undertell_floor1" }, + { "text": "Anoa", "nextPhraseID": "dbg_teleport_prj_undertell_anoa" }, + { "text": "Island hopping", "nextPhraseID": "dbg_teleport_prj_undertell_island_hopping" }, + { "text": "Back", "nextPhraseID": "dbg_teleport" }] + }, + { + "id":"dbg_teleport_prj_undertell_entry", + "rewards":[{ "rewardType":"mapchange", "rewardID":"railhouse_door2", "mapName":"galmore_58" }] + }, + { + "id":"dbg_teleport_prj_undertell_heartstone", + "rewards":[{ "rewardType":"mapchange", "rewardID":"east", "mapName":"undertell_3_lava_00" }] + }, + { + "id":"dbg_teleport_prj_undertell_floor1", + "rewards":[{ "rewardType":"mapchange", "rewardID":"west", "mapName":"undertell_12" }] + }, + { + "id":"dbg_teleport_prj_undertell_anoa", + "rewards":[{ "rewardType":"mapchange", "rewardID":"east", "mapName":"undertell_3_02" }] + }, + { + "id":"dbg_teleport_prj_undertell_island_hopping", + "rewards":[{ "rewardType":"mapchange", "rewardID":"island0", "mapName":"undertell_5" }] + }, + { + "id": "dbg_teleport_prj_brightport2", + "message": "*** brightport2 ***", + "replies": [{ "text": "Duleian road to Brightport", "nextPhraseID": "dbg_teleport_prj_brightport2_start_from_south" }, + { "text": "Poisoned lands towards Brightport", "nextPhraseID": "dbg_teleport_prj_brightport2_start_from_north" }, + { "text": "West of Brightport", "nextPhraseID": "dbg_teleport_prj_brightport2_west_of_brightport" }, + { "text": "Statue", "nextPhraseID": "dbg_teleport_prj_brightport2_statue" }, + { "text": "Statue west", "nextPhraseID": "dbg_teleport_prj_brightport2_statue_w" }, + { "text": "Statue north", "nextPhraseID": "dbg_teleport_prj_brightport2_statue_n" }, + { "text": "Statue east", "nextPhraseID": "dbg_teleport_prj_brightport2_statue_e" }, + { "text": "Statue to charwood", "nextPhraseID": "dbg_teleport_prj_brightport2_statue_chr" }, + { "text": "Lizard cave", "nextPhraseID": "dbg_teleport_prj_brightport2_lizards" }, + { "text": "Hills towards underground castle", "nextPhraseID": "dbg_teleport_prj_brightport2_waytocastle" }, + { "text": "Back", "nextPhraseID": "dbg_teleport" }] + }, + { + "id":"dbg_teleport_prj_brightport2_start_from_south", + "rewards":[{ "rewardType":"mapchange", "rewardID":"north", "mapName":"cabin_norcity_road1" }] + }, + { + "id":"dbg_teleport_prj_brightport2_start_from_north", + "rewards":[{ "rewardType":"mapchange", "rewardID":"north2", "mapName":"korhald_cave_outdoor1" }] + }, + { + "id":"dbg_teleport_prj_brightport2_west_of_brightport", + "rewards":[{ "rewardType":"mapchange", "rewardID":"east", "mapName":"waytobrightport20" }] + }, + { + "id":"dbg_teleport_prj_brightport2_statue", + "rewards":[{ "rewardType":"mapchange", "rewardID":"west", "mapName":"brightportwild9" }] + }, + { + "id":"dbg_teleport_prj_brightport2_statue_w", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"waytobrightport10" }] + }, + { + "id":"dbg_teleport_prj_brightport2_statue_n", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"brightportwild19" }] + }, + { + "id":"dbg_teleport_prj_brightport2_statue_e", + "rewards":[{ "rewardType":"mapchange", "rewardID":"west", "mapName":"brightportwild10" }] + }, + { + "id":"dbg_teleport_prj_brightport2_statue_chr", + "rewards":[{ "rewardType":"mapchange", "rewardID":"west", "mapName":"waytobrightport0" }] + }, + { + "id":"dbg_teleport_prj_brightport2_lizards", + "rewards":[{ "rewardType":"mapchange", "rewardID":"cave", "mapName":"brightportwild17" }] + }, + { + "id":"dbg_teleport_prj_brightport2_waytocastle", + "rewards":[{ "rewardType":"mapchange", "rewardID":"east1", "mapName":"brightportwild4" }] + }, + { + "id": "dbg_teleport_prj", + "message": "Other projects", + "replies": [{ "text": "Project Way to Feygard", "nextPhraseID": "dbg_teleport_prj_feygard_3" }, + { "text": "Project Way to Nor City", "nextPhraseID": "dbg_teleport_prj_nor_city" }, + { "text": "Back", "nextPhraseID": "dbg_teleport" }] + }, + { + "id": "dbg_teleport_prj_feygard_3", + "message": "*** feygard_3 ***", + "replies": [{ "text": "Feygard walls", "nextPhraseID": "dbg_teleport_prj_feygard_walls" }, + { "text": "Back", "nextPhraseID": "dbg_teleport" }] + }, + { + "id":"dbg_teleport_prj_feygard_walls", + "rewards":[{ "rewardType":"mapchange", "rewardID":"south", "mapName":"feygard_outside1" }] + }, + { + "id": "dbg_teleport_prj_nor_city", + "message": "*** norcity ***", + "replies": [{ "text": "Back", "nextPhraseID": "dbg_teleport" }] + }, + { + "id": "dbg_shop", + "message": "What do you need?", + "replies": [{ "text": "Gold", "nextPhraseID": "dbg_shop_gold" }, + { "text": "Potions", "nextPhraseID": "dbg_shop_pot", "requires":[{ "requireType":"inventoryRemove", "requireID":"health_major2", "value":-1000 }] }, + { "text": "Project undertell", "nextPhraseID": "dbg_shop_prj_undertell" }, + { "text": "Project brightport2", "nextPhraseID": "dbg_shop_prj_brightport2" }, + { "text": "Project feygard_3", "nextPhraseID": "dbg_shop_prj_feygard_3" }, + { "text": "Project nor_city", "nextPhraseID": "dbg_shop_prj_nor_city" }, + { "text": "Project moeston", "nextPhraseID": "dbg_shop_prj_moeston" }, + { "text": "Project z_biasZebra", "nextPhraseID": "dbg_shop_prj_z_biasZebra" }, + { "text": "Bye", "nextPhraseID": "X" }] + }, + { + "id": "dbg_shop_prj_undertell", + "message": "*** undertell ***", + "replies": [{ "text": "Back", "nextPhraseID": "dbg_shop" }] + }, + { + "id": "dbg_shop_prj_brightport2", + "message": "*** brightport2 ***", + "replies": [{ "text": "20 lizardman bones", "nextPhraseID": "dbg_shop_prj_brightport2", + "requires":[{ "requireType":"inventoryRemove", "requireID":"brightport_bone", "value":-20 }] }, + { "text": "Back", "nextPhraseID": "dbg_shop" }] + }, + { + "id": "dbg_shop_prj_feygard_3", + "message": "*** feygard_3 ***", + "replies": [{ "text": "Back", "nextPhraseID": "dbg_shop" }] + }, + { + "id": "dbg_shop_prj_nor_city", + "message": "*** nor_city ***", + "replies": [{ "text": "Back", "nextPhraseID": "dbg_shop" }] + }, + { + "id": "dbg_shop_prj_moeston", + "message": "*** moeston ***", + "replies": [{ "text": "Back", "nextPhraseID": "dbg_shop" }] + }, + { + "id": "dbg_shop_prj_z_biasZebra", + "message": "*** z_biasZebra ***", + "replies": [{ "text": "Back", "nextPhraseID": "dbg_shop" }] + }, + { + "id": "dbg_shop_gold", + "message": "How much gold?", + "replies": [{ "text": "100000", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":-100000 }] }, + { "text": "10000", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":-10000 }] }, + { "text": "1000", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":-1000 }] }, + { "text": "-10", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":10 }] }, + { "text": "-100", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":100 }] }, + { "text": "-1000", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":1000 }] }, + { "text": "-10000", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":10000 }] }, + { "text": "-100000", "nextPhraseID": "dbg_shop_gold", "requires":[{ "requireType":"inventoryRemove", "requireID":"gold", "value":100000 }] }, + { "text": "Back", "nextPhraseID": "dbg_shop" }] + }, + { + "id": "dbg_shop_pot", + "message": "Let's get a drink ...", + "replies": [{ "text": "Major potion of health", "nextPhraseID": "dbg_shop_pot", + "requires":[{ "requireType":"inventoryRemove", "requireID":"health_major2", "value":-1000 }] }, + { "text": "Back", "nextPhraseID": "dbg_shop" }] } ] diff --git a/AndorsTrail/res/raw/droplists_debug.json b/AndorsTrail/res/raw/droplists_debug.json index 755100bb5..11f8e7ea7 100644 --- a/AndorsTrail/res/raw/droplists_debug.json +++ b/AndorsTrail/res/raw/droplists_debug.json @@ -1,185 +1,2 @@ [ - { - "id": "debugshop1", - "items": [ - { - "itemID": "club1", - "quantity": { - "min": 10, - "max": 10 - }, - "chance": "100" - }, - { - "itemID": "club3", - "quantity": { - "min": 5, - "max": 5 - }, - "chance": "100" - }, - { - "itemID": "hammer0", - "quantity": { - "min": 5, - "max": 5 - }, - "chance": "100" - }, - { - "itemID": "hammer1", - "quantity": { - "min": 5, - "max": 5 - }, - "chance": "100" - }, - { - "itemID": "shirt1", - "quantity": { - "min": 5, - "max": 5 - }, - "chance": "100" - }, - { - "itemID": "shirt2", - "quantity": { - "min": 5, - "max": 5 - }, - "chance": "100" - }, - { - "itemID": "dagger0", - "quantity": { - "min": 5, - "max": 5 - }, - "chance": "100" - } - ] - }, - { - "id": "debuglist1", - "items": [ - { - "itemID": "gold", - "quantity": { - "min": 3, - "max": 3 - }, - "chance": "100" - }, - { - "itemID": "dagger0", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - }, - { - "itemID": "shirt1", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - }, - { - "itemID": "club3", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - } - ] - }, - { - "id": "debuglist2", - "items": [{ - "itemID": "gold", - "quantity": { - "min": 3, - "max": 3 - }, - "chance": "100" - }] - }, - { - "id": "startitems", - "items": [ - { - "itemID": "gold", - "quantity": { - "min": 12, - "max": 12 - }, - "chance": "100" - }, - { - "itemID": "club1", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - }, - { - "itemID": "shirt1", - "quantity": { - "min": 5, - "max": 5 - }, - "chance": "100" - }, - { - "itemID": "dagger0", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - }, - { - "itemID": "debug_dagger1", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - }, - { - "itemID": "debug_ring1", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - }, - { - "itemID": "shadow_slayer", - "quantity": { - "min": 1, - "max": 1 - }, - "chance": "100" - } - ] - }, - { - "id": "debugrequires10gold_droplist", - "items": [ - { - "quantity": { - "min": 10, - "max": 10 - }, - "itemID": "gold", - "chance": "100" - } - ] - } ] diff --git a/AndorsTrail/res/raw/itemlist_debug.json b/AndorsTrail/res/raw/itemlist_debug.json index 864a8716d..0d4f101c7 100644 --- a/AndorsTrail/res/raw/itemlist_debug.json +++ b/AndorsTrail/res/raw/itemlist_debug.json @@ -1,199 +1,2 @@ [ - { - "id": "debug_dagger1", - "iconID": "items_weapons:20", - "name": "Black heart dagger", - "category": "dagger", - "displaytype": "extraordinary", - "hasManualPrice": 1, - "baseMarketCost": 6, - "equipEffect": { - "increaseAttackCost": 2, - "increaseAttackChance": 100, - "increaseCriticalSkill": 30, - "setCriticalMultiplier": 3, - "increaseAttackDamage": { - "min": 5, - "max": 10 - } - } - }, - { - "id": "debug_ring1", - "iconID": "items_jewelry:4", - "name": "Black heart ring", - "category": "ring", - "displaytype": "quest", - "hasManualPrice": 1, - "baseMarketCost": 3, - "equipEffect": { - "increaseAttackChance": 50, - "increaseAttackDamage": { - "min": 10, - "max": 10 - } - } - }, - { - "id":"choatic_potion", - "iconID":"items_consumables:62", - "name":"Chaotic Potion", - "category":"pot", - "useEffect":{ - "conditionsSource":[ - { - "condition":"chaotic_grip", - "magnitude":1, - "duration":5, - "chance":"100" - } - ] - } - }, - { - "id":"choatic_cure", - "iconID":"items_consumables:65", - "name":"Chaotic Cure", - "category":"pot", - "useEffect":{ - "conditionsSource":[ - { - "condition":"chaotic_grip", - "magnitude":-99, - "duration": 0, - "chance":"100" - } - ] - } - }, - { - "id":"choatic_vaccine", - "iconID":"items_consumables:65", - "name":"Chaotic Vaccine", - "category":"pot", - "useEffect":{ - "conditionsSource":[ - { - "condition":"chaotic_grip", - "magnitude":-99, - "duration": 5, - "chance":"100" - } - ] - } - }, - { - "id": "chaotic_redeemer", - "iconID": "items_weapons:61", - "name": "Chaotic redeemer", - "category": "lsword", - "displaytype": "extraordinary", - "hasManualPrice": 1, - "baseMarketCost": 0, - "equipEffect": { - "increaseMaxAP": 2, - "increaseAttackCost": 7, - "increaseAttackChance": 25, - "increaseCriticalSkill": 10, - "setCriticalMultiplier": 2, - "increaseAttackDamage": { - "min": 5, - "max": 9 - }, - "addedConditions":[ - { - "condition":"chaotic_grip", - "magnitude":-99 - } - ] - }, - "killEffect": { - "increaseCurrentHP": { - "min": 1, - "max": 1 - } - } - }, - { - "id": "chaotic_penalty", - "iconID": "items_weapons:61", - "name": "Chaotic Penalty", - "category": "lsword", - "displaytype": "extraordinary", - "hasManualPrice": 1, - "baseMarketCost": 0, - "equipEffect": { - "increaseMaxAP": 2, - "increaseAttackCost": 7, - "increaseAttackChance": 25, - "increaseCriticalSkill": 10, - "setCriticalMultiplier": 2, - "increaseAttackDamage": { - "min": 5, - "max": 9 - }, - "addedConditions":[ - { - "condition":"chaotic_grip", - "magnitude": 5 - } - ] - }, - "killEffect": { - "increaseCurrentHP": { - "min": 1, - "max": 1 - } - }, - "hitEffect":{ - "conditionsTarget":[ - { - "condition":"chaotic_test", - "magnitude":5, - "duration":2, - "chance":"100" - } - ] - }, - "hitReceivedEffect" : { - "increaseCurrentHP": { - "min": 1, - "max": 1 - }, - "increaseCurrentAP": { - "min": 1, - "max": 1 - }, - "increaseAttackerCurrentHP": { - "min": 1, - "max": 1 - }, - "increaseAttackerCurrentAP": { - "min": 1, - "max": 1 - }, - "conditionsSource":[ - { - "condition":"chaotic_grip", - "magnitude": 2, - "duration": 5, - "chance":"50" - } - ], - "conditionsTarget":[ - { - "condition":"chaotic_grip", - "magnitude": 2, - "duration": 5, - "chance":"80" - }, - { - "condition":"chaotic_test2", - "magnitude":3, - "duration":4, - "chance":"50" - } - ] - } - } ] diff --git a/AndorsTrail/res/raw/monsterlist_debug.json b/AndorsTrail/res/raw/monsterlist_debug.json index f1e66393e..0d4f101c7 100644 --- a/AndorsTrail/res/raw/monsterlist_debug.json +++ b/AndorsTrail/res/raw/monsterlist_debug.json @@ -1,137 +1,2 @@ [ - { - "id": "traveller1", - "iconID": "monsters_man1:0", - "name": "Traveller1", - "spawnGroup": "debugNPC1", - "monsterClass": "humanoid", - "unique": 1, - "maxHP": 10, - "maxAP": 10, - "moveCost": 10, - "attackCost": 10, - "attackChance": 50, - "droplistID": "debugshop1", - "phraseID": "debugshop", - "movementAggressionType":"wholeMap", - "attackDamage": { - "min": 1, - "max": 2 - } - }, - { - "id": "traveller2", - "iconID": "monsters_man1:0", - "name": "Traveller2", - "spawnGroup": "debugNPC2", - "monsterClass": "humanoid", - "unique": 1, - "maxHP": 10, - "maxAP": 10, - "moveCost": 10, - "attackCost": 10, - "attackChance": 50, - "droplistID": "debugshop1", - "phraseID": "debugquest", - "attackDamage": { - "min": 1, - "max": 2 - } - }, - { - "id": "traveller3", - "iconID": "monsters_man1:0", - "name": "Traveller3", - "spawnGroup": "debugNPC3", - "monsterClass": "humanoid", - "unique": 1, - "maxHP": 10, - "maxAP": 10, - "moveCost": 10, - "attackCost": 10, - "attackChance": 50, - "phraseID": "npc3_0", - "attackDamage": { - "min": 1, - "max": 2 - } - }, - { - "id": "debug_black_ant", - "iconID": "monsters_insects:0", - "name": "Ant", - "spawnGroup": "debug_insect", - "monsterClass": "insect", - "maxHP": 10, - "maxAP": 10, - "moveCost": 3, - "attackCost": 3, - "attackChance": 50, - "droplistID": "debuglist1", - "movementAggressionType": "helpOthers", - "attackDamage": { - "min": 1, - "max": 2 - } - }, - { - "id": "debug_small_wasp", - "iconID": "monsters_insects:1", - "name": "Pitiful debug bug with long name", - "spawnGroup": "debug_insect", - "monsterClass": "insect", - "maxHP": 10, - "maxAP": 10, - "moveCost": 5, - "attackCost": 10, - "attackChance": 50, - "droplistID": "debuglist1", - "movementAggressionType":"wholeMap", - "attackDamage": { - "min": 1, - "max": 2 - } - }, - { - "id": "debug_winged_demon", - "iconID": "monsters_demon1:0", - "name": "Winged demon", - "spawnGroup": "debug_demon", - "size": "2x2", - "monsterClass": "demon", - "maxHP": 10, - "maxAP": 10, - "moveCost": 10, - "attackCost": 10, - "attackChance": 50, - "droplistID": "debuglist1", - "attackDamage": { - "min": 10, - "max": 20 - } - }, - { - "id": "debug_troll", - "iconID": "monsters_misc:5", - "name": "Troll", - "spawnGroup": "debug_troll", - "monsterClass": "giant", - "maxHP": 10, - "maxAP": 10, - "moveCost": 10, - "attackCost": 2, - "attackChance": 50, - "droplistID": "debuglist2", - "attackDamage": { - "min": 1, - "max": 2 - } - }, - { - "id":"chaotic_rewarder", - "name":"Chaotic rewarder", - "iconID":"monsters_men2:5", - "spawnGroup":"chaotic_rewarder", - "phraseID":"chaotic_rewarder_0" - } ] diff --git a/AndorsTrail/res/values/loadresources.xml b/AndorsTrail/res/values/loadresources.xml index 04bf6e81a..fa34fd97f 100644 --- a/AndorsTrail/res/values/loadresources.xml +++ b/AndorsTrail/res/values/loadresources.xml @@ -480,6 +480,7 @@ @raw/conversationlist_mt_galmore2 @raw/conversationlist_next_release + @raw/conversationlist_debug @@ -1687,6 +1688,7 @@ @xml/stoutford_filler_2 @xml/stoutford_filler_3 @xml/stoutford_filler_4 + @xml/debugmap diff --git a/AndorsTrail/res/xml/debugmap.tmx b/AndorsTrail/res/xml/debugmap.tmx index 59e5c03fe..906b2fe2b 100644 --- a/AndorsTrail/res/xml/debugmap.tmx +++ b/AndorsTrail/res/xml/debugmap.tmx @@ -1,283 +1,245 @@ - - - + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - eJzbyMnAsHEU48Q53AwMFwaBO2B4CxIezOYcGyD3jOJRTAkGAOdR634= + eJy7yMnAcHEUE41fcSHwcDJnFI/iUczAAADzLBTi - + - eJzjFGOAg5OiCLYrK8OAg3AW6pt5VZSwGnqBvUwDa7+CIHXMMcBiDpcYptgoGBrgJP9Au2DgAADprgS2 + eJy7yMnAcHGY45tcDAy3kPBtIAYBUs15CdUHA6+HiTk/gfp+IeHfZJozikfxUMcArNsJrA== - + - eJxjYBgFIxXMlB1oF4yCUTC4AAA1SQC3 + eJxjYBgF9AaprBCaQxhCfxQdOLeMglEwChAAAIWqAYw= - + - eJxjYBgFAwU2ig20C0bBKBgFyAAAzSQAyA== + eJxjYBgFo2AUjIJRAAIABRAAAQ== - - - - + + + eJxjYBgFo2AUjIJRAAIABRAAAQ== + + + + + - - + + + + + + + + + + + + + + + - + - + - - + + + - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +