Skip to content

Commit

Permalink
Make Forge of Wonder Globally Unique (#73578)
Browse files Browse the repository at this point in the history
* Make Forge of Wonder Global Unique

* Remove alternative forges

* Make Forge Dwarves not stumble into lava

* Update TALK_FORGE_DIVINER.json

* Update TALK_FORGE_DIVINER.json
  • Loading branch information
Maleclypse authored May 19, 2024
1 parent 64c1fed commit 140db31
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 31 deletions.
2 changes: 1 addition & 1 deletion data/mods/Magiclysm/monsters/forgedwellers.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
"anger_triggers": [ "FRIEND_ATTACKED", "FRIEND_DIED", "HURT" ],
"path_settings": { "avoid_traps": true, "avoid_sharp": true },
"death_drops": { "subtype": "collection", "groups": [ [ "forge_life", 40 ], [ "bedroom", 1 ], [ "dresser", 5 ], [ "ammo", 18 ] ] },
"flags": [ "SEES", "HEARS", "WARM", "BASHES", "GROUP_BASH", "HUMAN", "PATH_AVOID_DANGER_1" ],
"flags": [ "SEES", "HEARS", "WARM", "BASHES", "GROUP_BASH", "HUMAN", "PATH_AVOID_DANGER_2" ],
"armor": { "bash": 23, "cut": 32, "heat": 35, "bullet": 26 }
},
{
Expand Down
18 changes: 2 additions & 16 deletions data/mods/Magiclysm/npc/TALK_FORGE_DIVINER.json
Original file line number Diff line number Diff line change
Expand Up @@ -902,22 +902,8 @@
{
"id": "TALK_FORGE_LORD_DIVINER_OTHER_FORGE",
"type": "talk_topic",
"dynamic_line": "Valzain is powerful, all right? He has built his forge in every country in every reality. Or at least the realities we have access to. If you travel far enough in either direction, you are bound to run into another forge somewhere else. Except in reality, it's the same forge. There would even be a 'me' there. If you go there, feel free to give my regards to myself. Confusing? I agree. It's all part of Valzain's master plan, I think. He needs a near infinity of something do do something about something. I haven't been able to pry much details out of him. You know it wasn't that long ago that I was not part of any of the forges. And now I have suddenly always been part of all of them. Yeah, I don't fully understand it either, but if you want me to point you to another instance of the forge, I can do so for one denarius.",
"responses": [
{
"text": "It's a deal?",
"topic": "TALK_DONE",
"condition": { "u_has_item": "denarius" },
"effect": [ { "assign_mission": "MISSION_FORGE_DIVINER_OTHER_FORGE" }, { "u_consume_item": "denarius" } ]
},
{
"text": "I can't afford that right now.",
"topic": "TALK_FORGE_LORD_DIVINER_GET_MONEY",
"condition": { "not": { "u_has_item": "denarius" } }
},
{ "text": "About something else…", "topic": "TALK_NONE" },
{ "text": "Nevermind.", "topic": "TALK_DONE" }
]
"dynamic_line": "There is only one Forge of Wonders, it's not like this a multidimensional franchise opportunity.",
"responses": [ { "text": "About something else…", "topic": "TALK_NONE" }, { "text": "Nevermind.", "topic": "TALK_DONE" } ]
},
{
"id": "TALK_FORGE_LORD_DIVINER_LOVECRAFTIAN",
Expand Down
13 changes: 0 additions & 13 deletions data/mods/Magiclysm/npc/forge_diviner_missions.json
Original file line number Diff line number Diff line change
Expand Up @@ -541,18 +541,5 @@
"search_range": 180
}
}
},
{
"id": "MISSION_FORGE_DIVINER_OTHER_FORGE",
"type": "mission_definition",
"name": { "str": "Visit the other Forge of Wonders" },
"goal": "MGOAL_GO_TO_TYPE",
"difficulty": 0,
"value": 0,
"description": "The diviner told you that there would be another Forge of Wonders here. Or perhaps it's the same forge, but a different time? They weren't entirely clear what was going on here.",
"destination": "forge_1A_north",
"start": {
"assign_mission_target": { "om_terrain": "forge_1A_north", "reveal_radius": 3, "cant_see": true, "search_range": 400 }
}
}
]
3 changes: 2 additions & 1 deletion data/mods/Magiclysm/worldgen/forge_of_wonders.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,8 @@
"locations": [ "wilderness" ],
"city_distance": [ 20, -1 ],
"city_sizes": [ 0, 20 ],
"occurrences": [ 0, 1 ]
"occurrences": [ 1, 16 ],
"flags": [ "GLOBALLY_UNIQUE" ]
},
{
"type": "overmap_terrain",
Expand Down

0 comments on commit 140db31

Please sign in to comment.