Skip to content

Commit

Permalink
more tweaks and improvments
Browse files Browse the repository at this point in the history
  • Loading branch information
FalloutFalcon committed Oct 14, 2024
1 parent dd3b79f commit f07ed20
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@
/obj/item/reagent_containers/food/drinks/beer,
/turf/open/floor/plating/ice/icemoon,
/area/overmap_encounter/planetoid/cave/explored)
"hY" = (
/obj/structure/vein/ice/classthree{
vein_class = 4;
mining_charges = 30
},
/obj/effect/landmark/mission_poi/main/drill,
/turf/open/floor/plating/asteroid/snow/icemoon,
/area/overmap_encounter/planetoid/cave/explored)
"iz" = (
/obj/structure/fence/door/opened{
dir = 8
Expand Down Expand Up @@ -477,6 +485,13 @@
/obj/structure/chair/comfy/orange/directional/east,
/turf/open/floor/carpet,
/area/ruin/powered)
"OI" = (
/obj/effect/landmark/mission_poi/guard{
type_to_spawn = /mob/living/simple_animal/hostile/human/frontier/ranged/trooper/internals;
mission_index = 1
},
/turf/open/floor/plating/asteroid/snow/icemoon,
/area/overmap_encounter/planetoid/cave/explored)
"Pp" = (
/obj/machinery/vending/snack/random,
/turf/open/floor/holofloor/wood,
Expand Down Expand Up @@ -982,7 +997,7 @@ Og
Og
Og
zT
Og
OI
Og
zT
Og
Expand Down Expand Up @@ -1071,10 +1086,10 @@ Vn
Og
zT
Og
Og
Og
Bq
Og
hY
Og
Og
Og
Gy
Expand Down
11 changes: 10 additions & 1 deletion _maps/RandomRuins/JungleRuins/jungle_cavecrew.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,9 @@
/obj/structure/cable{
icon_state = "1-2"
},
/obj/effect/landmark/mission_poi/main/kill,
/obj/effect/landmark/mission_poi/main/kill{
mission_index = 1
},
/turf/open/floor/plasteel/tech,
/area/ruin/jungle/cavecrew/bridge)
"iN" = (
Expand Down Expand Up @@ -2179,6 +2181,9 @@
pixel_x = -5;
pixel_y = -3
},
/obj/effect/landmark/mission_poi/main{
mission_index = 2
},
/turf/open/floor/plasteel/tech,
/area/ruin/jungle/cavecrew/bridge)
"Al" = (
Expand Down Expand Up @@ -2736,6 +2741,10 @@
dir = 10
},
/obj/machinery/light/directional/south,
/obj/effect/landmark/mission_poi/guard{
type_to_spawn = /mob/living/simple_animal/hostile/human/frontier/ranged/neutered;
mission_index = 2
},
/turf/open/floor/plasteel/dark,
/area/ruin/jungle/cavecrew/bridge)
"Ir" = (
Expand Down
30 changes: 26 additions & 4 deletions _maps/RandomRuins/SpaceRuins/corporate_mining.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,14 @@
},
/turf/open/floor/plasteel/tech,
/area/ruin/space/has_grav/corporatemine/bridge)
"fd" = (
/obj/effect/decal/cleanable/blood/splatter,
/obj/effect/landmark/mission_poi/guard{
mission_index = 1;
type_to_spawn = /mob/living/simple_animal/hostile/asteroid/hivelord
},
/turf/open/floor/plating/asteroid/airless,
/area/ruin/space)
"fi" = (
/obj/structure/chair/office/light{
dir = 4
Expand Down Expand Up @@ -1093,6 +1101,20 @@
/obj/effect/decal/cleanable/dirt,
/turf/open/floor/plasteel/airless,
/area/ruin/space/has_grav/corporatemine)
"zQ" = (
/obj/effect/landmark/mission_poi/guard{
mission_index = 1;
type_to_spawn = /mob/living/simple_animal/hostile/asteroid/hivelord
},
/turf/open/floor/plating/asteroid/airless,
/area/ruin/space)
"Aa" = (
/obj/effect/landmark/mission_poi{
mission_index = 1;
type_to_spawn = /obj/structure/spawner/burrow/asteroid
},
/turf/open/floor/plating/asteroid/airless,
/area/ruin/space)
"Ac" = (
/obj/structure/railing,
/obj/structure/cable{
Expand Down Expand Up @@ -2105,7 +2127,7 @@
vein_class = 4;
mining_charges = 30
},
/obj/effect/landmark/mission_poi/drill,
/obj/effect/landmark/mission_poi/main/drill,
/turf/open/floor/plating/asteroid/airless,
/area/ruin/space)
"Vr" = (
Expand Down Expand Up @@ -3729,7 +3751,7 @@ VM
VM
Vj
VM
kp
fd
bl
VM
Pn
Expand Down Expand Up @@ -3830,7 +3852,7 @@ Al
Al
Iv
VM
VM
zQ
VM
rG
Bp
Expand Down Expand Up @@ -3937,7 +3959,7 @@ VM
VM
bl
VM
VM
Aa
VM
VM
VM
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/dcs/signals/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@

// Drill signals
// Called when a mission drill finishes sampling
#define COMSIG_DRILL_SAMPLES_DONE "spawner_toggle"
#define COMSIG_DRILL_SAMPLES_DONE "drill_done"

///Beam Signals
/// Called before beam is redrawn
Expand Down
5 changes: 4 additions & 1 deletion code/datums/ruins/icemoon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
description = "Who knows what lies within?"
suffix = "icemoon_underground_abandoned_village.dmm"
ruin_tags = list(RUIN_TAG_MEDIUM_COMBAT, RUIN_TAG_MINOR_LOOT, RUIN_TAG_INHOSPITABLE)
dynamic_mission_types = list(/datum/mission/dynamic/data_reterival)
dynamic_mission_types = list(
/datum/mission/dynamic/data_reterival,
/datum/mission/dynamic/signaled/drill
)

/datum/map_template/ruin/icemoon/brazillian_lab
name = "Barricaded Compound"
Expand Down
5 changes: 4 additions & 1 deletion code/datums/ruins/jungle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@
description = "A frontiersmen base, hidden within a cave. They don't seem friendly"
suffix = "jungle_cavecrew.dmm"
ruin_tags = list(RUIN_TAG_MEDIUM_COMBAT, RUIN_TAG_HAZARDOUS, RUIN_TAG_LIVEABLE, RUIN_TAG_MAJOR_LOOT)
dynamic_mission_types = list(/datum/mission/dynamic/kill/frontiersmen)
dynamic_mission_types = list(
/datum/mission/dynamic/kill/frontiersmen,
/datum/mission/dynamic/data_reterival
)

/datum/map_template/ruin/jungle/library
name = "Abandoned Library"
Expand Down
2 changes: 1 addition & 1 deletion code/game/objects/items/documents.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
var/forgedseal = 0
var/copy_type = null

/obj/item/documents/photocopy/New(loc, obj/item/documents/copy=null)
/obj/item/documents/photocopy/New(loc, obj/item/documents/copy = null)
..()
if(copy)
copy_type = copy.type
Expand Down
1 change: 1 addition & 0 deletions code/modules/dynamic_missions/mission.dm
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
value = value * (dur_value_scaling ? old_dur / duration : 1)
value = round(value, 50)

faction = pick(faction)
author = random_species_name()
return

Expand Down
1 change: 0 additions & 1 deletion code/modules/dynamic_missions/missions/dynamic.dm
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
/datum/mission/dynamic/data_reterival
name = "data recovery"
setpiece_item = list(
/obj/item/blackbox,
/obj/item/research_notes/loot,
/obj/item/documents
)
Expand Down
1 change: 0 additions & 1 deletion code/modules/dynamic_missions/missions/guarded.dm
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
name = "NT asset recovery"
faction = /datum/faction/nt
setpiece_item = /obj/item/documents/nanotrasen
guard_type = /mob/living/simple_animal/hostile/human/syndicate/melee

/datum/mission/dynamic/guarded/nt_files/generate_mission_details()
. = ..()
Expand Down
9 changes: 8 additions & 1 deletion code/modules/dynamic_missions/missions/signaled.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,18 @@
UnregisterSignal(registered_item, mission_main_signal)
remove_bound(registered_item)

/obj/effect/landmark/mission_poi/drill
/obj/effect/landmark/mission_poi/main/drill

/datum/mission/dynamic/signaled/drill
name = "drill mission"
desc = "get this drill back up and running and send us proof"
faction = list(
/datum/faction/nt,
/datum/faction/nt/ns_logi,
/datum/faction/nt/vigilitas,
/datum/faction/frontier,
/datum/faction/independent
)
registered_type = /obj/machinery/drill/mission/ruin
setpiece_item = /obj/item/drill_readout
mission_main_signal = COMSIG_DRILL_SAMPLES_DONE
Expand Down

0 comments on commit f07ed20

Please sign in to comment.