diff --git a/data/mods/Sky_Island/dialog_statue.json b/data/mods/Sky_Island/dialog_statue.json index 1e2a5e0a7e413..b2bd302ab0ef0 100644 --- a/data/mods/Sky_Island/dialog_statue.json +++ b/data/mods/Sky_Island/dialog_statue.json @@ -533,6 +533,57 @@ "effect": [ { "assign_mission": "SKYISLAND_BUILD_bigroom4" } ], "topic": "SKYISLAND_UPGRADES_INFRASTRUCTURE" }, + { + "text": "Construct: West Room 1", + "condition": { + "and": [ + { "not": { "u_has_mission": "SKYISLAND_BUILD_westroom1" } }, + { "math": [ "skyisland_build_bigroom", ">=", "1" ] }, + { "math": [ "skyisland_build_westroom", "==", "0" ] } + ] + }, + "effect": [ { "assign_mission": "SKYISLAND_BUILD_westroom1" } ], + "topic": "SKYISLAND_UPGRADES_INFRASTRUCTURE" + }, + { + "text": "Construct: West Room 2", + "condition": { + "and": [ + { "not": { "u_has_mission": "SKYISLAND_BUILD_westroom2" } }, + { "math": [ "skyisland_build_westroom", "==", "1" ] }, + { "math": [ "skyisland_build_bigroom", ">=", "1" ] }, + { "math": [ "islandrank", ">=", "2" ] } + ] + }, + "effect": [ { "assign_mission": "SKYISLAND_BUILD_westroom2" } ], + "topic": "SKYISLAND_UPGRADES_INFRASTRUCTURE" + }, + { + "text": "Construct: West Room 3", + "condition": { + "and": [ + { "not": { "u_has_mission": "SKYISLAND_BUILD_westroom3" } }, + { "math": [ "skyisland_build_westroom", "==", "2" ] }, + { "math": [ "skyisland_build_bigroom", ">=", "2" ] }, + { "math": [ "islandrank", ">=", "3" ] } + ] + }, + "effect": [ { "assign_mission": "SKYISLAND_BUILD_westroom3" } ], + "topic": "SKYISLAND_UPGRADES_INFRASTRUCTURE" + }, + { + "text": "Construct: West Room Gallery", + "condition": { + "and": [ + { "not": { "u_has_mission": "SKYISLAND_BUILD_westroom4" } }, + { "math": [ "skyisland_build_westroom", "==", "3" ] }, + { "math": [ "skyisland_build_bigroom", ">=", "3" ] }, + { "math": [ "islandrank", ">=", "3" ] } + ] + }, + "effect": [ { "assign_mission": "SKYISLAND_BUILD_westroom4" } ], + "topic": "SKYISLAND_UPGRADES_INFRASTRUCTURE" + }, { "text": "Nevermind.", "topic": "SKYISLAND_UPGRADE" } ] } diff --git a/data/mods/Sky_Island/island_upgrades.json b/data/mods/Sky_Island/island_upgrades.json index 0074125e8c9ed..6e7f1874aba19 100644 --- a/data/mods/Sky_Island/island_upgrades.json +++ b/data/mods/Sky_Island/island_upgrades.json @@ -31,6 +31,26 @@ "id": "EOC_skyisland_build_bigroom4", "effect": [ { "mapgen_update": "mx_skyisland_a4", "target_var": { "global_val": "OM_island_subcenter" } } ] }, + { + "type": "effect_on_condition", + "id": "EOC_skyisland_build_westroom1", + "effect": [ { "mapgen_update": "mx_skyisland_w1", "target_var": { "global_val": "OM_island_subw" } } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_skyisland_build_westroom2", + "effect": [ { "mapgen_update": "mx_skyisland_w2", "target_var": { "global_val": "OM_island_subw" } } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_skyisland_build_westroom3", + "effect": [ { "mapgen_update": "mx_skyisland_w3", "target_var": { "global_val": "OM_island_subw" } } ] + }, + { + "type": "effect_on_condition", + "id": "EOC_skyisland_build_westroom4", + "effect": [ { "mapgen_update": "mx_skyisland_w4", "target_var": { "global_val": "OM_island_subw" } } ] + }, { "type": "effect_on_condition", "id": "EOC_memorize_island", @@ -393,6 +413,7 @@ "+": "t_door_metal_c", "#": "t_wall_metal", "-": [ "t_null" ], + "G": "t_wall_glass", "O": [ "t_null" ], "x": [ "t_null" ], "T": [ "t_null" ], @@ -401,5 +422,145 @@ }, "furniture": { "X": "f_exitportal", "V": "f_islandstatue" }, "items": { } + }, + { + "type": "mapgen", + "method": "json", + "update_mapgen_id": "mx_skyisland_w1", + "object": { + "rows": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ##### ", + " #...##########", + " #.*.+.........", + " #...##########", + " ##### ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "flags": [ "NO_UNDERLYING_ROTATE", "ALLOW_TERRAIN_UNDER_OTHER_DATA" ], + "palettes": [ "skyisland_bunker" ] + } + }, + { + "type": "mapgen", + "method": "json", + "update_mapgen_id": "mx_skyisland_w2", + "object": { + "rows": [ + " ", + " ", + " ", + " ", + " ######### ", + " #.......# ", + " #.......# ", + " #..---..#xxxxxxx", + " #..-O-.-+-------", + " #..---..#xxxxxxx", + " #.......# ", + " #.......# ", + " ######### ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "flags": [ "NO_UNDERLYING_ROTATE", "ALLOW_TERRAIN_UNDER_OTHER_DATA" ], + "palettes": [ "skyisland_bunker" ] + } + }, + { + "type": "mapgen", + "method": "json", + "update_mapgen_id": "mx_skyisland_w3", + "object": { + "rows": [ + " ", + " ########### ", + " ##.........## ", + " ##...........## ", + " #.............# ", + " #...-------...# ", + " #...-------...# ", + " #...-------...#xxxx", + " #....--O---...+----", + " #...-------...#xxxx", + " #...-------...# ", + " #...-------...# ", + " #.............# ", + " ##...........## ", + " ##.........## ", + " ########### ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "flags": [ "NO_UNDERLYING_ROTATE", "ALLOW_TERRAIN_UNDER_OTHER_DATA" ], + "palettes": [ "skyisland_bunker" ] + } + }, + { + "type": "mapgen", + "method": "json", + "update_mapgen_id": "mx_skyisland_w4", + "object": { + "rows": [ + " ", + " ########### ", + " ##.........## ", + " #####...........## ", + " G..#.............# ", + " G..#...-------...# ", + " G..#...-------...# ", + " G..#...-------...#xxxx", + " G..+....--O---...+----", + " G..#...-------...#xxxx", + " G..#...-------...# ", + " G..#...-------...# ", + " G..#.............# ", + " #####...........## ", + " ##.........## ", + " ########### ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ], + "flags": [ "NO_UNDERLYING_ROTATE", "ALLOW_TERRAIN_UNDER_OTHER_DATA" ], + "palettes": [ "skyisland_bunker" ] + } } ] diff --git a/data/mods/Sky_Island/upgrade_missions.json b/data/mods/Sky_Island/upgrade_missions.json index bb4fb048fd7c1..8998c0c861fdc 100644 --- a/data/mods/Sky_Island/upgrade_missions.json +++ b/data/mods/Sky_Island/upgrade_missions.json @@ -2295,6 +2295,268 @@ [ [ "hd_pipe_fittings", 4 ] ] ] }, + { + "id": "SKYISLAND_BUILD_westroom1", + "type": "mission_definition", + "name": "Construct: West Room 1", + "description": "Completing this mission will instantly build a new structure on your home island.\n\nCraft a Miner's Cameo from simple tools and common building materials. The Heart of the Island has already placed the recipe inside your mind.\n\nNew Structure: West Room 1. A hollow chamber west of the island's center to serve as a multipurpose space, with tons of room to expand.", + "goal": "MGOAL_FIND_ITEM", + "item": "buildkey_westroom1", + "count": 1, + "difficulty": 0, + "value": 0, + "has_generic_rewards": false, + "start": { + "effect": [ + { "u_learn_recipe": "buildkey_westroom1" }, + { + "u_message": "Now that you have corridors snaking beneath your island, you could build rooms in various areas. The western quadrant might be a good place for another room.\nA new recipe has been learned. Craft this artifact to permanently upgrade the island.\n\nNew Structure: West Room 1. A hollow chamber to the west of the island's center to serve as a multipurpose space, with tons of room to expand.", + "popup": true + } + ] + }, + "end": { + "effect": [ + { "math": [ "skyisland_build_westroom", "=", "1" ] }, + { "u_forget_recipe": "buildkey_westroom1" }, + { "run_eocs": "EOC_skyisland_build_westroom1" }, + { + "u_message": "Construction complete. A room has been dug out to the west of the central area in the bunker beneath the island.", + "popup": true + } + ] + } + }, + { + "id": "buildkey_westroom1", + "type": "GENERIC", + "category": "spare_parts", + "name": { "str_sp": "Miner's Cameo (West)" }, + "description": "This strange metaphysical artifact is used to build a structure on the island. Will be used automatically upon crafting, and can only be used once.\n\nASSOCIATED BUILD: West Room 1", + "volume": "25000 ml", + "weight": "15000 g", + "longest_side": "90 cm", + "material": [ "stone" ], + "symbol": "V", + "color": "white" + }, + { + "result": "buildkey_westroom1", + "type": "recipe", + "activity_level": "NO_EXERCISE", + "category": "CC_WARP", + "subcategory": "CSC_WARP_UPGRADES", + "skill_used": "survival", + "difficulty": 0, + "time": "15 m", + "flags": [ "SECRET", "BLIND_EASY" ], + "reversible": false, + "tools": [ [ [ "fakeitem_statue", -1 ] ] ], + "qualities": [ { "id": "DIG", "level": 1 }, { "id": "HAMMER", "level": 2 }, { "id": "SCREW", "level": 1 } ], + "components": [ + [ [ "2x4", 1 ] ], + [ [ "hinge", 5 ] ], + [ [ "nail", 20 ] ], + [ [ "nuts_bolts", 15 ] ], + [ [ "box_medium", 4 ], [ "box_large", 2 ], [ "box_oversize", 1 ] ], + [ [ "cordage", 5, "LIST" ] ] + ] + }, + { + "id": "SKYISLAND_BUILD_westroom2", + "type": "mission_definition", + "name": "Construct: West Room 2", + "description": "Completing this mission will instantly build a new structure on your home island.\n\nCraft a Hollow Carver from simple tools and common building materials. The Heart of the Island has already placed the recipe inside your mind.\n\nNew Structure: West Room 2. Expand the western room to fit more loot, furniture, or anything else you may need.", + "goal": "MGOAL_FIND_ITEM", + "item": "buildkey_westroom2", + "count": 1, + "difficulty": 0, + "value": 0, + "has_generic_rewards": false, + "start": { + "effect": [ + { "u_learn_recipe": "buildkey_westroom2" }, + { + "u_message": "The western room would be a lot more useful if it were larger. Time to get to work.\nA new recipe has been learned. Craft this artifact to permanently upgrade the island.\n\nNew Structure: West Room 2. Expand the western room to fit more loot, furniture, or anything else you may need.", + "popup": true + } + ] + }, + "end": { + "effect": [ + { "math": [ "skyisland_build_westroom", "=", "2" ] }, + { "u_forget_recipe": "buildkey_westroom2" }, + { "run_eocs": "EOC_skyisland_build_westroom2" }, + { "u_message": "Construction complete. The western room has grown.", "popup": true } + ] + } + }, + { + "id": "buildkey_westroom2", + "type": "GENERIC", + "category": "spare_parts", + "name": { "str_sp": "Hollow Carver (West)" }, + "description": "This strange metaphysical artifact is used to build a structure on the island. Will be used automatically upon crafting, and can only be used once.\n\nASSOCIATED BUILD: West Room 2", + "volume": "25000 ml", + "weight": "15000 g", + "longest_side": "90 cm", + "material": [ "stone" ], + "symbol": "V", + "color": "white" + }, + { + "result": "buildkey_westroom2", + "type": "recipe", + "activity_level": "NO_EXERCISE", + "category": "CC_WARP", + "subcategory": "CSC_WARP_UPGRADES", + "skill_used": "survival", + "difficulty": 0, + "time": "15 m", + "flags": [ "SECRET", "BLIND_EASY" ], + "reversible": false, + "tools": [ [ [ "fakeitem_statue", -1 ] ] ], + "qualities": [ { "id": "WRENCH", "level": 2 }, { "id": "SCREW_FINE", "level": 1 }, { "id": "DRILL", "level": 1 } ], + "components": [ + [ [ "shovel", 1 ], [ "shovel_snow", 1 ] ], + [ [ "sheet_metal", 8 ] ], + [ [ "frame", 2 ] ], + [ [ "cordage", 1, "LIST" ] ] + ] + }, + { + "id": "SKYISLAND_BUILD_westroom3", + "type": "mission_definition", + "name": "Construct: West Room 3", + "description": "Completing this mission will instantly build a new structure on your home island.\n\nCraft a Warped Reinforcement from simple tools and common building materials. The Heart of the Island has already placed the recipe inside your mind.\n\nNew Structure: West Room 3. Expand the western room to very generous dimensions.", + "goal": "MGOAL_FIND_ITEM", + "item": "buildkey_westroom3", + "count": 1, + "difficulty": 0, + "value": 0, + "has_generic_rewards": false, + "start": { + "effect": [ + { "u_learn_recipe": "buildkey_westroom3" }, + { + "u_message": "The western room is a good start, but it could be much bigger. Time to get to work.\nA new recipe has been learned. Craft this artifact to permanently upgrade the island.\n\nNew Structure: West Room 3. Expand the western room to very generous dimensions.", + "popup": true + } + ] + }, + "end": { + "effect": [ + { "math": [ "skyisland_build_westroom", "=", "3" ] }, + { "u_forget_recipe": "buildkey_westroom3" }, + { "run_eocs": "EOC_skyisland_build_westroom3" }, + { "u_message": "Construction complete. The western room has grown even further.", "popup": true } + ] + } + }, + { + "id": "buildkey_westroom3", + "type": "GENERIC", + "category": "spare_parts", + "name": { "str_sp": "Warped Reinforcement (West)" }, + "description": "This strange metaphysical artifact is used to build a structure on the island. Will be used automatically upon crafting, and can only be used once.\n\nASSOCIATED BUILD: West Room 3", + "volume": "25000 ml", + "weight": "15000 g", + "longest_side": "90 cm", + "material": [ "stone" ], + "symbol": "V", + "color": "white" + }, + { + "result": "buildkey_westroom3", + "type": "recipe", + "activity_level": "NO_EXERCISE", + "category": "CC_WARP", + "subcategory": "CSC_WARP_UPGRADES", + "skill_used": "survival", + "difficulty": 0, + "time": "15 m", + "flags": [ "SECRET", "BLIND_EASY" ], + "reversible": false, + "tools": [ [ [ "fakeitem_statue", -1 ] ] ], + "qualities": [ { "id": "WRENCH", "level": 2 }, { "id": "SCREW_FINE", "level": 1 }, { "id": "DRILL", "level": 1 } ], + "components": [ + [ [ "wood_beam", 4 ] ], + [ [ "sheet_metal", 8 ] ], + [ [ "frame", 2 ] ], + [ [ "wearable_light", 2 ] ], + [ [ "hard_plate", 4 ], [ "steel_plate", 8 ] ], + [ [ "battery_car", 1 ], [ "battery_motorbike", 1 ], [ "medium_storage_battery", 1 ] ], + [ [ "cordage", 1, "LIST" ] ] + ] + }, + { + "id": "SKYISLAND_BUILD_westroom4", + "type": "mission_definition", + "name": "Construct: West Room Gallery", + "description": "Completing this mission will instantly build a new structure on your home island.\n\nCraft a Crystalline Glass from simple tools and common building materials. The Heart of the Island has already placed the recipe inside your mind.\n\nNew Structure: West Room Gallery. Add an enclosed gallery to the western room to allow viewing off the side of the island.", + "goal": "MGOAL_FIND_ITEM", + "item": "buildkey_westroom4", + "count": 1, + "difficulty": 0, + "value": 0, + "has_generic_rewards": false, + "start": { + "effect": [ + { "u_learn_recipe": "buildkey_westroom4" }, + { + "u_message": "The western room is a nice size, but you're on a floating island. What if you had a place where you could admire the beautiful view without having to worry about the blowing winds? Time to get to work.\nA new recipe has been learned. Craft this artifact to permanently upgrade the island.\n\nNew Structure: West Room Gallery. Add an enclosed gallery to the western room to allow viewing off the side of the island.", + "popup": true + } + ] + }, + "end": { + "effect": [ + { "math": [ "skyisland_build_westroom", "=", "4" ] }, + { "u_forget_recipe": "buildkey_westroom4" }, + { "run_eocs": "EOC_skyisland_build_westroom4" }, + { "u_message": "Construction complete. The western room has now has a viewing gallery.", "popup": true } + ] + } + }, + { + "id": "buildkey_westroom4", + "type": "GENERIC", + "category": "spare_parts", + "name": { "str_sp": "Crystalline Glass (West)" }, + "description": "This strange metaphysical artifact is used to build a structure on the island. Will be used automatically upon crafting, and can only be used once.\n\nASSOCIATED BUILD: West Room Gallery", + "volume": "25000 ml", + "weight": "15000 g", + "longest_side": "90 cm", + "material": [ "stone" ], + "symbol": "V", + "color": "white" + }, + { + "result": "buildkey_westroom4", + "type": "recipe", + "activity_level": "NO_EXERCISE", + "category": "CC_WARP", + "subcategory": "CSC_WARP_UPGRADES", + "skill_used": "survival", + "difficulty": 0, + "time": "15 m", + "flags": [ "SECRET", "BLIND_EASY" ], + "reversible": false, + "tools": [ [ [ "fakeitem_statue", -1 ] ] ], + "qualities": [ + { "id": "WRENCH", "level": 2 }, + { "id": "SCREW_FINE", "level": 1 }, + { "id": "DRILL", "level": 1 }, + { "id": "HAMMER_FINE", "level": 1 } + ], + "components": [ + [ [ "glass_sheet", 4 ] ], + [ [ "sheet_metal", 4 ] ], + [ [ "glass_shard", 100 ] ], + [ [ "battery_car", 1 ], [ "battery_motorbike", 1 ], [ "medium_storage_battery", 1 ] ], + [ [ "cordage", 1, "LIST" ] ] + ] + }, { "id": "SKYISLAND_UPGRADE_security1", "type": "mission_definition",