Skip to content

Commit

Permalink
[MIRROR] Adds garbage dumpster ruins [MDB IGNORE] (#552)
Browse files Browse the repository at this point in the history
* Adds garbage dumpster ruins (#79446)

* Update belt.dmi

* Fixes Jacked Up LF/CRLF issuess

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: DaCoolBoss <[email protected]>
Co-authored-by: Giz <[email protected]>
Co-authored-by: san7890 <[email protected]>
  • Loading branch information
5 people authored Nov 11, 2023
1 parent ba5be7e commit caae05e
Show file tree
Hide file tree
Showing 14 changed files with 4,840 additions and 0 deletions.
1,494 changes: 1,494 additions & 0 deletions _maps/RandomRuins/SpaceRuins/garbagetruck1.dmm

Large diffs are not rendered by default.

955 changes: 955 additions & 0 deletions _maps/RandomRuins/SpaceRuins/garbagetruck2.dmm

Large diffs are not rendered by default.

1,185 changes: 1,185 additions & 0 deletions _maps/RandomRuins/SpaceRuins/garbagetruck3.dmm

Large diffs are not rendered by default.

1,147 changes: 1,147 additions & 0 deletions _maps/RandomRuins/SpaceRuins/garbagetruck4.dmm

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions code/__DEFINES/atmospherics/atmos_mapping_helpers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#define OPENTURF_DEFAULT_ATMOS GAS_O2 + "=22;" + GAS_N2 + "=82;TEMP=293.15"
/// the default low-pressure air mix used mostly for mining areas.
#define OPENTURF_LOW_PRESSURE GAS_O2 + "=14;" + GAS_N2 + "=30;TEMP=293.15"
/// breathable air that causes disease
#define OPENTURF_DIRTY_ATMOS GAS_MIASMA + "=15;" + GAS_O2 + "=88;TEMP=293.15"
/// -193,15°C telecommunications. also used for xenobiology slime killrooms
#define TCOMMS_ATMOS GAS_N2 + "=100;TEMP=80"
/// space
Expand Down
25 changes: 25 additions & 0 deletions code/datums/ruins/space.dm
Original file line number Diff line number Diff line change
Expand Up @@ -490,3 +490,28 @@ suffix = "whiteshipruin_box.dmm"*/
suffix = "infested_frigate.dmm"
name = "SYN-C Brutus"
description = "This wasn't an outbreak, this was a repelled attack."

/datum/map_template/ruin/space/garbagetruck1
id = "garbagetruck1"
suffix = "garbagetruck1.dmm"
name = "Decommissioned Garbage Truck NX1"
description = "An NX-760 interstellar transport barge. At the end of their life cycle, they are often filled with trash and launched into unexplored space to become someone else's problem. This one is full of kitchen waste, and rodents."

/datum/map_template/ruin/space/garbagetruck2
id = "garbagetruck2"
suffix = "garbagetruck2.dmm"
name = "Decommissioned Garbage Truck NX2"
description = "An NX-760 interstellar transport barge. At the end of their life cycle, they are often filled with trash and launched into unexplored space to become someone else's problem. This one is full of medical waste, and a syndicate agent."

/datum/map_template/ruin/space/garbagetruck3
id = "garbagetruck3"
suffix = "garbagetruck3.dmm"
name = "Decommissioned Garbage Truck NX3"
description = "An NX-760 interstellar transport barge. At the end of their life cycle, they are often filled with trash and launched into unexplored space to become someone else's problem. This one is full of industrial garbage, and a russian drug den."

/datum/map_template/ruin/space/garbagetruck4
id = "garbagetruck4"
suffix = "garbagetruck4.dmm"
name = "Decommissioned Garbage Truck NX4"
description = "An NX-760 interstellar transport barge. At the end of their life cycle, they are often filled with trash and launched into unexplored space to become someone else's problem. This one is full of commercial trash, and spiders."

10 changes: 10 additions & 0 deletions code/game/area/areas/ruins/space.dm
Original file line number Diff line number Diff line change
Expand Up @@ -690,3 +690,13 @@
//SYN-C Brutus, derelict frigate
/area/ruin/space/has_grav/infested_frigate
name = "SYN-C Brutus"

//garbage trucks
/area/ruin/space/has_grav/garbagetruck
name = "decommissioned garbage truck"
sound_environment = SOUND_AREA_SMALL_ENCLOSED
ambience_index = AMBIENCE_MAINT
/area/ruin/space/has_grav/garbagetruck/foodwaste
/area/ruin/space/has_grav/garbagetruck/medicalwaste
/area/ruin/space/has_grav/garbagetruck/squat
/area/ruin/space/has_grav/garbagetruck/toystore
18 changes: 18 additions & 0 deletions code/game/objects/items/tools/crowbar.dm
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,24 @@
desc = "It's a bulky crowbar. It almost seems deliberately designed to not be able to fit inside of a backpack."
w_class = WEIGHT_CLASS_BULKY

/obj/item/crowbar/hammer
name = "claw hammer"
desc = "It's a heavy hammer with a pry bar on the back of its head. Nails aren't common in space, but this tool can still be used as a weapon or a crowbar."
force = 11
w_class = WEIGHT_CLASS_NORMAL
icon = 'icons/obj/weapons/hammer.dmi'
icon_state = "clawhammer"
lefthand_file = 'icons/mob/inhands/weapons/hammers_lefthand.dmi'
righthand_file = 'icons/mob/inhands/weapons/hammers_righthand.dmi'
inhand_icon_state = "clawhammer"
belt_icon_state = "clawhammer"
throwforce = 10
throw_range = 5
throw_speed = 3
toolspeed = 2
custom_materials = list(/datum/material/wood=SMALL_MATERIAL_AMOUNT*0.5, /datum/material/iron=SMALL_MATERIAL_AMOUNT*0.7)
wound_bonus = 35

/obj/item/crowbar/large/heavy //from space ruin
name = "heavy crowbar"
desc = "It's a big crowbar. It doesn't fit in your pockets, because it's big. It feels oddly heavy.."
Expand Down
4 changes: 4 additions & 0 deletions code/game/turfs/open/floor/plating/misc_plating.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
initial_gas_mix = OPENTURF_LOW_PRESSURE
baseturfs = /turf/open/floor/plating/lowpressure

/turf/open/floor/plating/dumpsterair
initial_gas_mix = OPENTURF_DIRTY_ATMOS
temperature = 309

/turf/open/floor/plating/icemoon
icon_state = "plating"
initial_gas_mix = ICEMOON_DEFAULT_ATMOS
Expand Down
Binary file modified icons/mob/clothing/belt.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/weapons/hammers_lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/inhands/weapons/hammers_righthand.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/belt_overlays.dmi
Binary file not shown.
Binary file modified icons/obj/weapons/hammer.dmi
Binary file not shown.

0 comments on commit caae05e

Please sign in to comment.