Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New sand ruin - the E-11 Manufacturing Plant. #3304

Merged
merged 43 commits into from
Oct 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
66afa7d
Woop woop, ruin time!
Sadhorizon Aug 22, 2024
fb6b302
oops
Sadhorizon Aug 22, 2024
9bcff86
better icons
Sadhorizon Aug 23, 2024
dce5abe
factions, rust, checks
Sadhorizon Aug 23, 2024
452d2a6
outside
Sadhorizon Aug 23, 2024
b54af07
outside
Sadhorizon Aug 23, 2024
3cad3e8
fire alarm
Sadhorizon Aug 23, 2024
f287224
slippery's annoying
Sadhorizon Aug 23, 2024
cff0673
also this
Sadhorizon Aug 23, 2024
a789090
ruin desc
Sadhorizon Aug 23, 2024
f4b1055
troopers
Sadhorizon Aug 23, 2024
a88f7a8
croquette's fate
Sadhorizon Aug 23, 2024
c0c8d2a
hunger
Sadhorizon Aug 23, 2024
eb939ba
anchors and bear traps
Sadhorizon Aug 24, 2024
57bacb4
more stuff
Sadhorizon Aug 25, 2024
5d387f5
slightly less E-11s
Sadhorizon Aug 28, 2024
e468b3d
more stuff
Sadhorizon Aug 31, 2024
359c1c5
document desc
Sadhorizon Aug 31, 2024
590ad14
SOMEONE can't place cables. Wonder who.
Sadhorizon Aug 31, 2024
ae59d55
made the documents an object
Sadhorizon Sep 12, 2024
007288e
Merge remote-tracking branch 'upstream/master' into e11_manufactory
Sadhorizon Sep 21, 2024
71ef383
tags
Sadhorizon Sep 21, 2024
f3a9b6a
idk a bit better I guess
Sadhorizon Sep 27, 2024
9e75d66
moved the table
Sadhorizon Sep 27, 2024
87a5a39
sand
Sadhorizon Sep 27, 2024
1fbaf70
kills the rock
Sadhorizon Sep 27, 2024
495e5e4
Merge remote-tracking branch 'upstream/master' into e11_manufactory
Sadhorizon Sep 28, 2024
e771a0f
should work
Sadhorizon Sep 28, 2024
dd25b77
bit more sand
Sadhorizon Sep 28, 2024
f3fb4b5
more sand
Sadhorizon Sep 28, 2024
c5c0607
hate that
Sadhorizon Oct 2, 2024
595a6af
???
Sadhorizon Oct 2, 2024
71af3de
T2s
Sadhorizon Oct 2, 2024
fd923d0
coffee
Sadhorizon Oct 5, 2024
b8640f0
better mechs
Sadhorizon Oct 5, 2024
38525cf
Merge remote-tracking branch 'upstream/master' into e11_manufactory
Sadhorizon Oct 14, 2024
e5199a9
swappity
Sadhorizon Oct 16, 2024
1bfa315
Merge remote-tracking branch 'upstream/master' into e11_manufactory
Sadhorizon Oct 25, 2024
607485b
updatepaths
Sadhorizon Oct 25, 2024
f4ffb99
will you work?
Sadhorizon Oct 25, 2024
0f2836d
didn't save this one
Sadhorizon Oct 25, 2024
0e31593
Merge remote-tracking branch 'upstream/master' into e11_manufactory
Sadhorizon Oct 26, 2024
ffecf91
ig
Sadhorizon Oct 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11,181 changes: 11,181 additions & 0 deletions _maps/RandomRuins/SandRuins/whitesands_surface_e11_manufactory.dmm

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions code/datums/ruins/whitesands.dm
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,9 @@
allow_duplicates = FALSE
ruin_tags = list(RUIN_TAG_MEDIUM_COMBAT, RUIN_TAG_MEDIUM_LOOT, RUIN_TAG_INHOSPITABLE, RUIN_TAG_HAZARDOUS)

/datum/map_template/ruin/whitesands/e11_manufactory
name = "E-11 Manufacturing Plant"
id = "ws-e11manufactory"
description = "An old Eoehoma Firearms manufacturing plant dedicated to assembly of the beloved-by-many E-11 rifle."
suffix = "whitesands_surface_e11_manufactory.dmm"
ruin_tags = list(RUIN_TAG_MEDIUM_COMBAT, RUIN_TAG_MEDIUM_LOOT, RUIN_TAG_HAZARDOUS)
25 changes: 25 additions & 0 deletions code/game/area/areas/ruins/sandplanet.dm
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,31 @@
name = "Pubby-Class Chunk"
icon_state = "red"

//e-11 manufactory
/area/ruin/whitesands/e11manufactory
name = "Eoehoma Firearms Assembly Line"
icon_state = "mining_production"

/area/ruin/whitesands/e11manufactory/warehouse
name = "Eoehoma Firearms Warehouse"
icon_state = "storage"

/area/ruin/whitesands/e11manufactory/mats
name = "Eoehoma Firearms Material Storage"
icon_state = "auxstorage"

/area/ruin/whitesands/e11manufactory/security
name = "Eoehoma Firearms Security Office"
icon_state = "security"

/area/ruin/whitesands/e11manufactory/barracks
name = "Eoehoma Firearms Worker Barracks"
icon_state = "crew_quarters"

/area/ruin/whitesands/e11manufactory/office
name = "Eoehoma Firearms Management Offices"
icon_state = "quartoffice"

//cave base
/area/ruin/whitesands/cave_base
name = "Abandoned Facility"
Expand Down
4 changes: 4 additions & 0 deletions code/game/objects/items/documents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
desc = "\"Top Secret\" documents belonging to the Second Battlegroup of New Gorlex Republic. They are filled with sensitive operational intelligence. These documents are verified with a red wax seal."
icon_state = "docs_red"

/obj/item/documents/eoehoma // For use in Eoehoma-related ruins.
desc = "\"Top Secret\" Eoehoma Firearms documents. Filled with weapon blueprints and eviction notices."
icon_state = "docs_blue"

/obj/item/documents/photocopy
desc = "A copy of some top-secret documents. Nobody will notice they aren't the originals... right?"
var/forgedseal = 0
Expand Down
14 changes: 14 additions & 0 deletions code/game/turfs/open/floor/plating/whitesands.dm
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,20 @@

/turf/open/floor/concrete/whitesands
initial_gas_mix = WHITESANDS_ATMOS
light_range = 2
light_power = 0.6
light_color = COLOR_VERY_LIGHT_GRAY

/turf/open/floor/concrete/reinforced/whitesands
initial_gas_mix = WHITESANDS_ATMOS
light_range = 2
light_power = 0.6
light_color = COLOR_VERY_LIGHT_GRAY

/turf/open/floor/concrete/pavement/whitesands
initial_gas_mix = WHITESANDS_ATMOS
light_range = 2
light_power = 0.6
light_color = COLOR_VERY_LIGHT_GRAY

/turf/open/floor/concrete/slab_1/whitesands
Expand Down
4 changes: 4 additions & 0 deletions code/modules/clothing/head/hardhat.dm
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@
icon_state = "hardhat_orange"
dog_fashion = null

/obj/item/clothing/head/hardhat/purple
icon_state = "hardhat_purple"
dog_fashion = null

/obj/item/clothing/head/hardhat/red
name = "firefighter helmet"
icon_state = "hardhat_red"
Expand Down
37 changes: 37 additions & 0 deletions code/modules/mob/living/simple_animal/hostile/human/survivors.dm
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,21 @@
/obj/effect/mob_spawn/human/corpse/damaged/whitesands/gunslinger,
)

/mob/living/simple_animal/hostile/human/hermit/ranged/e11 // Intended for the e11_manufactory ruin.
name = "Hermit Trooper"
desc = "Quality weapons are hard to get by in the sandworlds, which forces many survivors to improvise with that they have. This one is hoping that an E-11 of all things will save his life."
icon_state = "survivor_e11"
icon_living = "survivor_e11"
projectilesound = 'sound/weapons/gun/laser/e-fire.ogg'
speed = 10
faction = list("eoehoma")
Sadhorizon marked this conversation as resolved.
Show resolved Hide resolved
rapid_fire_delay = 1
casingtype = null
projectiletype = /obj/projectile/beam/laser/eoehoma/hermit
loot = list(
/obj/effect/mob_spawn/human/corpse/damaged/whitesands/e11,
)

//survivor corpses

/obj/effect/mob_spawn/human/corpse/damaged/whitesands
Expand Down Expand Up @@ -278,6 +293,25 @@
else
visible_message(span_warning("The gunslinger's weapon shatters as they impact the ground!"))

if("e11")
uniform = pick_weight(list(
/obj/item/clothing/under/rank/cargo/miner = 65,
/obj/item/clothing/under/color/random = 25,
/obj/item/clothing/under/rank/cargo/miner/lavaland/old = 10,
)
)
belt = pick_weight(list(
/obj/item/storage/belt/utility = 25,
/obj/item/storage/belt/mining = 15,
/obj/item/storage/belt/fannypack = 15,
/obj/item/storage/belt/mining/alt = 5,
)
)
shoes = /obj/item/clothing/shoes/workboots
if(prob(50)) // Hilarious, ain't it?
new /obj/item/gun/energy/e_gun/e11 (loc)
else
visible_message(span_warning("The trooper's weapon shatters as they impact the ground!"))
. = ..()


Expand All @@ -290,6 +324,9 @@
/obj/effect/mob_spawn/human/corpse/damaged/whitesands/gunslinger
survivor_type = "gunslinger"

/obj/effect/mob_spawn/human/corpse/damaged/whitesands/e11
survivor_type = "e11"

//hold overs for any admin who may want to spawn their own survivor realmobs

/datum/outfit/whitesands
Expand Down
3 changes: 3 additions & 0 deletions code/modules/projectiles/ammunition/energy/laser.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
projectile_type = /obj/projectile/beam/laser/eoehoma
fire_sound = 'sound/weapons/gun/laser/e-fire.ogg'

/obj/projectile/beam/laser/eoehoma/hermit // Used for the Hermits with E-11 because apparently you can only set it on projectile for simple mobs? That's fun!
spread = 80

/obj/item/ammo_casing/energy/laser/assault
projectile_type = /obj/projectile/beam/laser/assault
fire_sound = 'sound/weapons/gun/laser/e40_las.ogg'
Expand Down
3 changes: 3 additions & 0 deletions code/modules/projectiles/guns/energy/energy_gun.dm
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,6 @@
dual_wield_spread = 140
shaded_charge = TRUE
manufacturer = MANUFACTURER_EOEHOMA

/obj/item/gun/energy/e_gun/e11/empty_cell
spawn_no_ammo = TRUE
Binary file modified icons/mob/simple_human.dmi
Binary file not shown.
Loading