Skip to content

Commit

Permalink
hope this works holy shit please
Browse files Browse the repository at this point in the history
  • Loading branch information
Zevotech committed Oct 31, 2023
2 parents 67448ed + 04a7548 commit 34b4686
Show file tree
Hide file tree
Showing 30 changed files with 4,872 additions and 363 deletions.
4,760 changes: 4,760 additions & 0 deletions _maps/RandomRuins/RockRuins/rockplanet_nomadcrash.dmm

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion _maps/map_catalogue.txt
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ Find the key for using this catalogue in "map_catalogue_key.txt"
Size = (x = 57)(y = 51)(z = 1)
Tags = "No Combat", "Medium Loot", "Hazardous", "Shelter"

File Name = "_maps\RandomRuins\RockRuins\rockplanet_nomadcrash.dmm"
Size = (x = 58)(y = 48)(z = 1)
Tags = "Medium Combat Challenge", "Medium Loot", "Hazardous", "Hospitable"


SandRuins:
File Name = "_maps\RandomRuins\Ruins\whitesands_surface_assaultpodcrash.dmm"
Expand Down Expand Up @@ -507,6 +511,10 @@ Find the key for using this catalogue in "map_catalogue_key.txt"
Size = (x = 37)(y = 43)(z = 1)
Tags = "Medium Combat Challenge", "Medium Loot", "Liveable"

File Name = "_maps\RandomRuins\BeachRuins\beach_float_resort.dmm"
Size = (x = 38)(y = 52)(z = 1)
Tags = "No Combat", "Minor Loot", "Liveable"

Deprecated:
File Name = "_maps\RandomRuins\deprecated\jungle_surface_tumblr_sexyman.dmm"
Size = (x = 30)(y = 20)(z = 1)
Expand Down Expand Up @@ -565,7 +573,7 @@ Find the key for using this catalogue in "map_catalogue_key.txt"
Tags = "No Combat", "Medium Loot", "Shelter"


Waste Ruins:
Waste Ruins:
File name ="_maps\RandomRuins\wasteruins\wasteplanet_clowncrash.dmm"
Size = (x = 11)(y = 12)(z = 1)
Tags = "No Combat", "Minor Loot", "Shelter" "hospitable"
Expand Down
14 changes: 0 additions & 14 deletions code/controllers/subsystem/mapping.dm
Original file line number Diff line number Diff line change
Expand Up @@ -134,27 +134,13 @@ SUBSYSTEM_DEF(mapping)
for(var/datum/planet_type/type as anything in subtypesof(/datum/planet_type))
planet_types[initial(type.planet)] = new type

// Still supporting bans by filename
// I hate this so much. I want to kill it because I don't think ANYONE uses this
// Couldn't you just remove it on a fork or something??? come onnnnnnnnnnnn stop EXISTING already
var/list/banned = generateMapList("[global.config.directory]/lavaruinblacklist.txt")
banned += generateMapList("[global.config.directory]/spaceruinblacklist.txt")
banned += generateMapList("[global.config.directory]/iceruinblacklist.txt")
banned += generateMapList("[global.config.directory]/sandruinblacklist.txt")
banned += generateMapList("[global.config.directory]/jungleruinblacklist.txt")
banned += generateMapList("[global.config.directory]/rockruinblacklist.txt")
banned += generateMapList("[global.config.directory]/wasteruinblacklist.txt")

for(var/item in sortList(subtypesof(/datum/map_template/ruin), /proc/cmp_ruincost_priority))
var/datum/map_template/ruin/ruin_type = item
// screen out the abstract subtypes
if(!initial(ruin_type.id))
continue
var/datum/map_template/ruin/R = new ruin_type()

if(R.mappath in banned)
continue

map_templates[R.name] = R
ruins_templates[R.name] = R
ruin_types_list[R.ruin_type] += list(R.name = R)
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/beachplanet.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\beachruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/beachplanet
prefix = "_maps/RandomRuins/BeachRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/icemoon.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\iceruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/icemoon
prefix = "_maps/RandomRuins/IceRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/jungle.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\jungleruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/jungle
prefix = "_maps/RandomRuins/JungleRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/lavaland.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\lavaruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/lavaland
prefix = "_maps/RandomRuins/LavaRuins/"
Expand Down
10 changes: 9 additions & 1 deletion code/datums/ruins/rockplanet.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\rockruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/rockplanet
prefix = "_maps/RandomRuins/RockRuins/"
Expand Down Expand Up @@ -94,8 +94,16 @@
id = "rockplanet_budgetcuts"
suffix = "rockplanet_budgetcuts.dmm"


/datum/map_template/ruin/rockplanet/shippingdock
name = "Abandoned Shipping Dock"
description = "An abandoned shipping dock used by small cargo freighters and smugglers alike."
id = "rockplanet_shippingdock"
suffix = "rockplanet_shippingdock.dmm"

/datum/map_template/ruin/rockplanet/nomadcrash
name = "Nomad Crash"
description = "A Crashed Arrow & Axe Interceptor. A long forgotten Crew. They tried their best to survive..."
id = "rockplanet_nomadcrash"
suffix = "rockplanet_nomadcrash.dmm"

2 changes: 1 addition & 1 deletion code/datums/ruins/space.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\spaceruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/space
prefix = "_maps/RandomRuins/SpaceRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/wasteplanet.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\wasteruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/wasteplanet
prefix = "_maps/RandomRuins/WasteRuins/"
Expand Down
2 changes: 1 addition & 1 deletion code/datums/ruins/whitesands.dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Hey! Listen! Update \config\sandruinblacklist.txt with your new ruins!
// Hey! Listen! Update _maps\map_catalogue.txt with your new ruins!

/datum/map_template/ruin/whitesands
prefix = "_maps/RandomRuins/SandRuins/"
Expand Down
28 changes: 19 additions & 9 deletions code/game/area/areas/ruins/rockplanet.dm
Original file line number Diff line number Diff line change
@@ -1,29 +1,39 @@
/**********************Rock Planet Areas**************************/
/area/ruin/rockplanet
icon_state = "red"

/area/ruin/rock

/area/mine/rockplanet
//syndicate
/area/ruin/rockplanet/syndicate
name = "Abandoned Syndicate Mining Facility"
icon_state = "green"

/area/mine/rockplanet_nanotrasen
//budgetcuts
/area/ruin/rockplanet/nanotrasen
name = "Abandoned Mining Facility"

/area/ruin/rock/shippingdockoffice
//shippingdock
/area/ruin/rockplanet/shippingdockoffice
name = "Employee Office"
icon_state = "crew_quarters"

/area/ruin/rock/shippingdockcustoms
/area/ruin/rockplanet/shippingdockcustoms
name = "Cargo Checkpoint"
icon_state = "security"

/area/ruin/rock/shippingdockwarehouse
/area/ruin/rockplanet/shippingdockwarehouse
name = "Warehouse"
icon_state = "storage"

/area/ruin/rock/shippingdocksecure
/area/ruin/rockplanet/shippingdocksecure
name = "Warehouse Secure Storage"
icon_state = "armory"

/area/ruin/rock/shippingdock
/area/ruin/rockplanet/shippingdock
name = "Abandoned Shipping Dock"
icon_state = "green"

//nomad
/area/ruin/rockplanet/nomad
name = "Abandoned Crash Site"
always_unpowered = FALSE
icon_state = "red"
14 changes: 14 additions & 0 deletions code/game/objects/effects/decals/turfdecal/flooring_decals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1092,3 +1092,17 @@ TURF_DECAL_COLOR_HELPER(transparent/inteqbrown, "#4b2a18", 140)

/obj/effect/turf_decal/hardline_big/seven
icon_state = "hardline_big-7"

//ARROW & AXE DOCKYARDS

/obj/effect/turf_decal/arrowaxe_small
name = "small arrow & axe logo"

/obj/effect/turf_decal/arrowaxe_small/left
icon_state = "arrowaxe-left"

/obj/effect/turf_decal/arrowaxe_small/center
icon_state = "arrowaxe-center"

/obj/effect/turf_decal/arrowaxe_small/right
icon_state = "arrowaxe-right"
37 changes: 37 additions & 0 deletions code/game/turfs/open/floor/plating/rockplanet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@
icon_state = "wet_soft0"
base_icon_state = "wet_soft"

/turf/open/floor/plating/asteroid/rockplanet/wet/atmos
initial_gas_mix = OPENTURF_DEFAULT_ATMOS

/turf/open/floor/plating/asteroid/rockplanet/wet/lit
light_range = 2
light_power = 0.6
Expand All @@ -46,3 +49,37 @@
light_range = 2
light_power = 0.6
light_color = COLOR_VERY_LIGHT_GRAY

/turf/open/floor/plating/asteroid/rockplanet/grass
name = "dry grass"
desc = "A patch of dry grass."
icon_state = "grass0"

/turf/open/floor/plating/asteroid/rockplanet/mud
name = "mud"
icon_state = "greenerdirt"

/turf/open/floor/plating/asteroid/rockplanet/pond
name = "pond"
icon_state = "riverwater"

/turf/open/floor/plating/asteroid/rockplanet/plating
name = "exterior plating"
icon_state = "plating"

/turf/open/floor/plating/asteroid/rockplanet/plating/scorched
name = "exterior plating"
icon_state = "panelscorched"

/turf/open/floor/plating/asteroid/rockplanet/stairs
name = "exterior stairs"
icon_state = "stairs"

/turf/open/floor/plating/asteroid/rockplanet/hull_plating
name = "exterior hull plating"
icon_state = "regular_hull"

/turf/open/floor/plating/asteroid/rockplanet/plasteel
name = "exterior floor"
icon_state = "tiled_gray"
icon = 'icons/turf/floors/tiles.dmi'
14 changes: 0 additions & 14 deletions config/atmos_mix.txt

This file was deleted.

23 changes: 0 additions & 23 deletions config/awaymissionconfig.txt

This file was deleted.

1 change: 0 additions & 1 deletion config/external_rsc_urls.txt

This file was deleted.

18 changes: 0 additions & 18 deletions config/iceruinblacklist.txt

This file was deleted.

50 changes: 0 additions & 50 deletions config/jobs.txt

This file was deleted.

27 changes: 0 additions & 27 deletions config/jungleruinblacklist.txt

This file was deleted.

Loading

0 comments on commit 34b4686

Please sign in to comment.