Files
Citadel-Station-13-RP/code/modules/maps/overmap/planets/miaphus.dm
T
CharlesWedgeandGitHub fb309eaefc Updates Miaphus: 8 New POIs, Better Transitions! (#6331)
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## Does what it says on the tin.
8 New POIs for Miaphus'irra, in addition, the transition between the
beach and the desert zones is nicer and better signposted. The new POIs
provide more variety for explo and potential events. Included are two
oil-related POIs, and a new pirate hideout POI which the pirate skiff
should be able to land at allowing the pirate to have a secret base on
Miaphus'irra.

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

<!-- Argue for the merits of your changes and how they benefit the game,
especially if they are controversial and/or far reaching. If you can't
actually explain WHY what you are doing will improve the game, then it
probably isn't good for the game in the first place. -->

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

🆑
add: 8 Miaphus'irra POIs 
tweak: Miaphus'irra map has better transitions
balance: larger Miaphus POIs no longer make dupes
/🆑

<!-- Both 🆑's are required for the changelog to work! You can put
your name to the right of the first 🆑 if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
2024-03-12 02:29:15 -07:00

371 lines
12 KiB
Plaintext

// -- Datums -- //
/obj/overmap/entity/visitable/sector/miaphus
name = "Miaphus'irra"
desc = "A former Tajaran penal colony turned NT client state."
scanner_desc = @{"[i]Stellar Body[/i]: Miaphus'irra
[i]Class[/i]: H-Class Planet
[i]Habitability[/i]: Moderate (High Temperature)
[i]Population[/i]: 60,000
[i]Controlling Goverment[/i]: Hadii's Folly Confederation of Freeholds
[b]Relationship with NT[/b]: Nanotrasen Client Government.
[b]Relevant Contracts[/b]: Dangerous Wildlife Control (Natrik Region), System Self Defence Assistance."}
icon_state = "globe"
color = "#ffd300" //Sandy
in_space = 0
initial_generic_waypoints = list("beach_e", "beach_c", "beach_nw")
initial_restricted_waypoints = list("Pirate Skiff" = list("pirate_hideout"))
start_x = 35
start_y = 40
/obj/effect/shuttle_landmark/premade/miaphus/piratehideout
name = "Pirate Hideout"
landmark_tag = "pirate_hideout"
//This is a special subtype of the thing that generates ores on a map
//It will generate more rich ores because of the lower numbers than the normal one
/datum/random_map/noise/ore/beachmine
descriptor = "beach mine ore distribution map"
deep_val = 0.6 //More riches, normal is 0.7 and 0.8
rare_val = 0.5
//The check_map_sanity proc is sometimes unsatisfied with how AMAZING our ores are
/datum/random_map/noise/ore/beachmine/check_map_sanity()
var/rare_count = 0
var/surface_count = 0
var/deep_count = 0
// Increment map sanity counters.
for(var/value in map)
if(value < rare_val)
surface_count++
else if(value < deep_val)
rare_count++
else
deep_count++
// Sanity check.
if(surface_count < 100)
admin_notice("<span class='danger'>Insufficient surface minerals. Rerolling...</span>", R_DEBUG)
return 0
else if(rare_count < 50)
admin_notice("<span class='danger'>Insufficient rare minerals. Rerolling...</span>", R_DEBUG)
return 0
else if(deep_count < 50)
admin_notice("<span class='danger'>Insufficient deep minerals. Rerolling...</span>", R_DEBUG)
return 0
else
return 1
// Note that if your map has step teleports, mobs may wander through them accidentally and not know how to get back
/obj/tether_away_spawner/beach_outside
name = "Beach Outside Spawner" //Just a name
faction = "beach_out" //Sets all the mobs to this faction so they don't infight
atmos_comp = TRUE //Sets up their atmos tolerances to work in this setting, even if they don't normally (20% up/down tolerance for each gas, and heat)
prob_spawn = 50 //Chance of this spawner spawning a mob (once this is missed, the spawner is 'depleted' and won't spawn anymore)
prob_fall = 25 //Chance goes down by this much each time it spawns one (not defining and prob_spawn 100 means they spawn as soon as one dies)
//guard = 40 //They'll stay within this range (not defining this disables them staying nearby and they will wander the map (and through step teleports))
mobs_to_pick_from = list(
/mob/living/simple_mob/animal/passive/snake
)
/obj/tether_away_spawner/beach_outside_friendly
name = "Fennec Spawner"
faction = "fennec"
atmos_comp = TRUE
prob_spawn = 100
prob_fall = 25
//guard = 40
mobs_to_pick_from = list(
/mob/living/simple_mob/vore/fennec
)
/obj/tether_away_spawner/beach_cave
name = "Beach Cave Spawner"
faction = "beach_cave"
atmos_comp = TRUE
prob_spawn = 100
prob_fall = 40
//guard = 20
mobs_to_pick_from = list(
/mob/living/simple_mob/vore/aggressive/frog = 6, //Frogs are 3x more likely to spawn than,
/mob/living/simple_mob/vore/aggressive/deathclaw = 2, //these deathclaws are, with these values,
/mob/living/simple_mob/animal/giant_spider = 4,
/mob/living/simple_mob/vore/aggressive/giant_snake = 2,
/mob/living/simple_mob/animal/giant_spider/webslinger = 2
)
// These are step-teleporters, for map edge transitions
// This top one goes INTO the cave
/obj/effect/step_trigger/teleporter/away_beach_tocave/Initialize(mapload)
. = ..()
teleport_x = src.x //X is horizontal. This is a top of map transition, so you want the same horizontal alignment in the cave as you have on the beach
teleport_y = 2 //2 is because it's putting you on row 2 of the map to the north
teleport_z = z+1 //The cave is always our Z-level plus 1, because it's loaded after us
//This one goes OUT OF the cave
/obj/effect/step_trigger/teleporter/away_beach_tobeach/Initialize(mapload)
. = ..()
teleport_x = src.x //Same reason as bove
teleport_y = world.maxy - 1 //This means "1 space from the top of the map"
teleport_z = z-1 //Opposite of 'tocave', beach is always loaded as the map before us
// -- Turfs -- //
//These are just some special turfs for the beach water
/turf/simulated/floor/beach/coastwater
name = "Water"
icon_state = "water"
/turf/simulated/floor/beach/coastwater/Initialize(mapload)
. = ..()
add_overlay(image("icon"='icons/misc/beach.dmi',"icon_state"="water","layer"=MOB_LAYER+0.1))
// -- Areas -- //
/area/tether_away/beach
name = "\improper Away Mission - Miaphus'irra: Shores"
icon_state = "away"
dynamic_lighting = 1
requires_power = 1
/area/tether_away/beach/powershed
name = "\improper Away Mission - Miaphus'irra: Nahtrik Solar Shed"
icon_state = "blue2"
/area/tether_away/beach/coast
name = "\improper Away Mission - Miaphus'irra: Nas'ti Sea Shores"
icon_state = "blue2"
/area/tether_away/beach/water
name = "\improper Away Mission - Miaphus'irra: Nas'ti Salt Sea"
icon_state = "bluenew"
/area/tether_away/beach/jungle
name = "\improper Away Mission - Miaphus'irra: Desert"
icon_state = "green"
/area/tether_away/beach/desalinator
name = "\improper Away Mission - Nahtrik Desalination Plant"
icon_state = "green"
/area/tether_away/beach/resort
name = "\improper Away Mission - Miaphus'irra: Nahtrik Settlement"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "yellow"
/area/tether_away/beach/resort/bunk
name = "\improper Away Mission - Nahtrik Bunkhouse"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "yellow"
/area/tether_away/beach/resort/canteen
name = "\improper Away Mission - Nahtrik Canteen"
icon_state = "grewhicir"
/area/tether_away/beach/resort/lockermed
name = "\improper Away Mission - Nahtrik Doctor's Office"
icon_state = "cyawhicir"
/area/tether_away/beach/resort/greenhouse
name = "\improper Away Mission - Nahtrik greenhouse"
icon_state = "purwhicir"
/area/tether_away/beach/resort/fishing
name = "\improper Away Mission - Nahtrik boathouse"
icon_state = "purwhicir"
/area/tether_away/beach/resort/dorm1
name = "\improper Away Mission - Nahtrik Private Room 1"
icon_state = "bluwhicir"
area_flags = AREA_RAD_SHIELDED
/area/tether_away/beach/resort/dorm2
name = "\improper Away Mission - Nahtrik Private Room 2"
icon_state = "bluwhicir"
area_flags = AREA_RAD_SHIELDED
/area/tether_away/beach/resort/dorm3
name = "\improper Away Mission - Nahtrik Private Room 3"
icon_state = "bluwhicir"
area_flags = AREA_RAD_SHIELDED
/area/tether_away/beach/resort/dorm4
name = "\improper Away Mission - Nahtrik Private Room 4"
icon_state = "bluwhicir"
area_flags = AREA_RAD_SHIELDED
/area/tether_away/beach/resort/dorm5
name = "\improper Away Mission - Nahtrik Private Room 5"
icon_state = "bluwhicir"
area_flags = AREA_RAD_SHIELDED
/area/tether_away/beach/mineshaft
name = "\improper Away Mission - Nahtrik Mines"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
area_flags = AREA_RAD_SHIELDED
/area/tether_away/beach/mineyard
name = "\improper Away Mission - Nahtrik Mineyard"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
area_flags = AREA_RAD_SHIELDED
/area/tether_away/beach/station
name = "\improper Away Mission - Nahtrik Maglev Line"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/station/terminal
name = "\improper Away Mission - Nahtrik Maglev Station"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/station/tram
name = "\improper Away Mission - Tram 2552D"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/station/tunnel
name = "\improper Away Mission - Nas'ti Line Terminus Tunnel"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/bunker
name = "\improper Away Mission - Abandoned Bunker"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/bunker/engi
name = "\improper Away Mission - Abandoned Bunker: Engineering"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/bunker/janitor
name = "\improper Away Mission - Abandoned Bunker: Janitor's Closet"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/bunker/mess
name = "\improper Away Mission - Abandoned Bunker: Mess Hall"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/bunker/bunk
name = "\improper Away Mission - Abandoned Bunker: Bunks"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/bunker/kitchen
name = "\improper Away Mission - Abandoned Bunker: Kitchen"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/bunker/restroom
name = "\improper Away Mission - Abandoned Bunker: Restrooms"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
/area/tether_away/beach/aa
name = "\improper Away Mission - Nahtrik Pirate Deterent Battery"
icon = 'icons/turf/areas_vr.dmi'
icon_state = "orawhicir"
//Some areas for the cave, which are referenced by our init object to seed submaps and ores
/area/tether_away/cave
area_flags = AREA_RAD_SHIELDED
ambience = list('sound/ambience/ambimine.ogg', 'sound/ambience/song_game.ogg')
/area/tether_away/cave/explored/normal
name = "\improper Away Mission - Miaphus'irra: Cave (E)"
icon_state = "explored"
/area/tether_away/cave/unexplored/normal
name = "\improper Away Mission - Miaphus'irra: Cave (UE)"
icon_state = "unexplored"
/area/tether_away/cave/explored/deep
name = "\improper Away Mission - Miaphus'irra: Cave Deep (E)"
icon_state = "explored_deep"
/area/tether_away/cave/unexplored/deep
name = "\improper Away Mission - Miaphus'irra: Cave Deep (UE)"
icon_state = "unexplored_deep"
// Desert World Reborn Areas..
/area/tether_away/beach/desert/poi
name = "\improper Away Mission - Miaphus'irra: Desert"
icon_state = "away"
requires_power = 1
/area/tether_away/beach/desert/explored
name = "\improper Away Mission - Miaphus'irra: Desert (E)"
icon_state = "explored"
/area/tether_away/beach/desert/unexplored
name = "\improper Away Mission - Miaphus'irra: Desert (UE)"
icon_state = "unexplored"
/area/tether_away/beach/desert/poi/WW_Town
name = "Miaphus'irra - Ghost Town"
/area/tether_away/beach/desert/poi/landing_pad
name = "Miaphus'irra - Prefab Homestead"
/area/tether_away/beach/desert/poi/solar_farm
name = "Miaphus'irra - Prefab Solar Farm"
/area/tether_away/beach/desert/poi/dirt_farm
name = "Miaphus'irra - Abandoned Farmstead"
/area/tether_away/beach/desert/poi/graveyard
name = "Miaphus'irra - Desert Graveyard"
/area/tether_away/beach/desert/poi/goldmine
name = "Miaphus'irra - Desert Goldmine"
/area/tether_away/beach/desert/poi/ranch
name = "Miaphus'irra - Abandoned Ranch"
/area/tether_away/beach/desert/poi/saloon
name = "Miaphus'irra - Saloon"
/area/tether_away/beach/desert/poi/temple
name = "Miaphus'irra - Old Temple"
/area/tether_away/beach/desert/poi/tomb
name = "Miaphus'irra - Old Tomb"
/area/tether_away/beach/desert/poi/AuxiliaryResearchFacility
name = "Miaphus'irra - Research Facility"
/area/tether_away/beach/desert/poi/vault
name = "Miaphus'irra - Desert Bunker"
/area/tether_away/beach/desert/poi/covert_post
name = "Miaphus'irra - Clown Listening Post"
/area/tether_away/beach/desert/poi/oilwell
name = "Miaphus'irra - Oil Spring"
/area/tether_away/beach/desert/poi/huntercamp
name = "Miaphus'irra - Hunter's Camp"
/area/tether_away/beach/desert/poi/refinery
name = "Miaphus'irra - Fuel Refinery"
/area/tether_away/beach/desert/poi/minecamp
name = "Miaphus'irra - Mining Camp"
/area/tether_away/beach/desert/poi/wastedump
name = "Miaphus'irra - Hazardous Waste Dump"
/area/tether_away/beach/desert/poi/snipernest
name = "Miaphus'irra - Sniper Nest"
/area/tether_away/beach/desert/poi/turretnest
name = "Miaphus'irra - Automated Defense Battery"
/area/tether_away/beach/desert/poi/piratehideout
name = "Miaphus'irra - Pirate Hideout"