From 7015508b941012baaa5401f49e49b794b3323e44 Mon Sep 17 00:00:00 2001 From: Venuska1117 <89580971+Venuska1117@users.noreply.github.com> Date: Wed, 21 Jun 2023 23:23:36 +0200 Subject: [PATCH] Space Ruin: Voyager (#21205) * Add voyager * Add Golden Record - Add Golden Record icon - Add Golden Record basic code (i am not coder) * oops - Move voyager code to specific folder * delete file put in wrong place * Fixes path * Upgrades Golden Record code - Now it have weight, resistance and Technology origin (biotech:6 Data:6) * Updates - Add name for item, so now its called "Golden Record". - Add "Golden Record" inside safe. * Modificate file for voyager to spawn - It will never make duplicate and it have chance to spawn * Make "cost" for ruin to spawn - Now ruin spawn require "cost" of 1 * Trying fix space structure spawning * REEE why it dont want to work * returning missing solar panel * Batch of update: - New sprite for "Golden Record" made by @mcramon - Changed Code to be more appealing, and added description. - For information, paradise.dme automatically corrected my placement in code, so i say it did it for me. * Add description - Add description for "satellite component storage": "Plate covering inside storage is wide, it have engraved "Voyager" on it." * Change "description = " to "desc = " * Trying to fix conflict with "desc = " * Fixing to moment when error is gone. * New stuff: - Added new titanium wall named "satellite components storage" desc: "There is plate covering inside storage, its wide and it have engraved 'Voyager' on it." * Removing sheets from wall.. (?) * Small changes - Made "Golden Record" force you to use your both hands to pick it up and hold it. - Now "Golden Record" have "bulky" weight. * Always forget something - change "Golden Record" in map to correct, new one. * Addind Noop on satellite. - Now its fully covered in noop (Passtrough) * Fixes Light issues - Used Area Passtrough instead of "Near Station" it don't create Light issues. --- .../RandomRuins/SpaceRuins/voyager.dmm | 94 ++++++++++++++++++ code/datums/ruins/space_ruins.dm | 8 ++ code/modules/ruins/spaceruin_code/voyager.dm | 22 ++++ config/example/config.toml | 1 + icons/obj/space/voyager.dmi | Bin 0 -> 821 bytes paradise.dme | 1 + 6 files changed, 126 insertions(+) create mode 100644 _maps/map_files/RandomRuins/SpaceRuins/voyager.dmm create mode 100644 code/modules/ruins/spaceruin_code/voyager.dm create mode 100644 icons/obj/space/voyager.dmi diff --git a/_maps/map_files/RandomRuins/SpaceRuins/voyager.dmm b/_maps/map_files/RandomRuins/SpaceRuins/voyager.dmm new file mode 100644 index 00000000000..386cf126ad3 --- /dev/null +++ b/_maps/map_files/RandomRuins/SpaceRuins/voyager.dmm @@ -0,0 +1,94 @@ +//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE +"a" = ( +/obj/machinery/power/solar, +/obj/structure/lattice, +/turf/template_noop, +/area/template_noop) +"c" = ( +/obj/structure/lattice, +/obj/machinery/power/solar, +/turf/template_noop, +/area/template_noop) +"e" = ( +/obj/structure/lattice, +/obj/structure/window/full/shuttle{ + name = "satellite lense" + }, +/turf/template_noop, +/area/template_noop) +"q" = ( +/obj/structure/safe/floor, +/obj/item/twohanded/required/golden_record, +/turf/simulated/satellite, +/area/template_noop) +"O" = ( +/obj/structure/target_stake{ + name = "low gain antenna"; + anchored = 1 + }, +/turf/template_noop, +/area/template_noop) +"R" = ( +/obj/structure/lattice, +/turf/template_noop, +/area/template_noop) +"S" = ( +/turf/template_noop, +/area/template_noop) + +(1,1,1) = {" +S +c +S +S +S +S +"} +(2,1,1) = {" +S +a +S +S +S +S +"} +(3,1,1) = {" +S +c +S +S +S +S +"} +(4,1,1) = {" +O +q +e +R +R +R +"} +(5,1,1) = {" +S +a +S +S +S +S +"} +(6,1,1) = {" +S +a +S +S +S +S +"} +(7,1,1) = {" +S +a +S +S +S +S +"} diff --git a/code/datums/ruins/space_ruins.dm b/code/datums/ruins/space_ruins.dm index 8d582e13704..6bc9a14066d 100644 --- a/code/datums/ruins/space_ruins.dm +++ b/code/datums/ruins/space_ruins.dm @@ -309,3 +309,11 @@ description = "A now-defunct outpost, with the last received signal being that of distress." allow_duplicates = FALSE cost = 2 // Also pretty big + +/datum/map_template/ruin/space/voyager + id = "voyager" + suffix = "voyager.dmm" + name = "Voyager" + description = "A relic of old times, you don't know what it hide inside." + allow_duplicates = FALSE + cost = 1 // Gives research levels and it should be hard-to-find diff --git a/code/modules/ruins/spaceruin_code/voyager.dm b/code/modules/ruins/spaceruin_code/voyager.dm new file mode 100644 index 00000000000..31fa9012cff --- /dev/null +++ b/code/modules/ruins/spaceruin_code/voyager.dm @@ -0,0 +1,22 @@ +/obj/item/twohanded/required/golden_record + name = "Golden Record" + desc = "A relic of the past, you don't know what lies inside, but you remember someone talking about it arriving in 250356 years" + icon = 'icons/obj/space/voyager.dmi' + icon_state = "golden_record_new" //credits to mcramon for brand new sprite + drop_sound = 'sound/items/handling/disk_drop.ogg' + pickup_sound = 'sound/items/handling/disk_pickup.ogg' + throw_speed = 1 + throw_range = 3 + force = 5 + w_class = WEIGHT_CLASS_BULKY + resistance_flags = FIRE_PROOF | ACID_PROOF + origin_tech = "programming=6;biotech=6" + +/turf/simulated/satellite + name = "satellite components storage" + desc = "There is plate covering inside storage, its wide and it have engraved 'Voyager' on it." + icon = 'icons/turf/shuttle.dmi' + icon_state = "wall" + smoothing_flags = NONE + base_icon_state = "plastitanium_wall" + explosion_block = 4 diff --git a/config/example/config.toml b/config/example/config.toml index cfa0eff8796..fa1b37dd16e 100644 --- a/config/example/config.toml +++ b/config/example/config.toml @@ -620,6 +620,7 @@ active_space_ruins = [ "_maps/map_files/RandomRuins/SpaceRuins/onehalf.dmm", "_maps/map_files/RandomRuins/SpaceRuins/syndiecakesfactory.dmm", "_maps/map_files/RandomRuins/SpaceRuins/wizardcrash.dmm", + "_maps/map_files/RandomRuins/SpaceRuins/voyager.dmm", ### The following ruins are based from past pre-spawned Zlevel content ### "_maps/map_files/RandomRuins/SpaceRuins/abandonedtele.dmm", diff --git a/icons/obj/space/voyager.dmi b/icons/obj/space/voyager.dmi new file mode 100644 index 0000000000000000000000000000000000000000..70d66df2522ef1c108ebfc99dadcff4f40a381d0 GIT binary patch literal 821 zcmV-51Iqk~P)P)t-sz`(#v zP-3lu0LhX7?Wh1+WrVkf04^;!ZFGSD%w``HGiM<&crPNjc_!SlM9i50|JHr-sQHPo$et%7w91Z7qL0004WQchCV=-0C=2JR&a84_w-Y6@%7{?OD!tS%+FJ>RWQ*r;NmRLOex6#a*U0*I5Sc+(=$pS zoZ^zil2jm5DLp?YB{eU;C^b31C`E~jGbOXA7$|PY#hF%=n41b=V^+GZc>MQR-p2H=>*_GPp8>z##A4MDAuz!*ws!`$o16j67=V4pgRxUA^7pbU zpvyz-gpr6k0O@fYDQ9Js9m&SQ(Icc+mIjRmcIFNdh3h)k)e~i#P)soeOJ`%5Maug8?3k&NZ-l z1gzEp%?|;{0StBrcxR%|1Th34gy;FZ5KvIedY(kjN%Yc_n0}Cc0MLQPw*_Dlm5<~u z6_^3&K)*iS0X+ULN>6715$HJ_36Ng)f%mnyp&AFQm&Z9%^9vE$cN4t=yeXpAzygp! z6>MVRFbidB#OQ+Pb){u#f$GOjoIJ=BtX;2LdCxg90Jdvi%X%;1UE&8|9eTMJc&$tI zcuOzFfkn*n`DU^g%j`fI_&lxCr`y|j{B!&Pn9eOj;14sX00000NkvXXu0mjfU1Vb8 literal 0 HcmV?d00001 diff --git a/paradise.dme b/paradise.dme index f71ab7dac2b..9be879f59bf 100644 --- a/paradise.dme +++ b/paradise.dme @@ -2504,6 +2504,7 @@ #include "code\modules\ruins\objects_and_mobs\gym.dm" #include "code\modules\ruins\objects_and_mobs\id_upgrader.dm" #include "code\modules\ruins\objects_and_mobs\necropolis_gate.dm" +#include "code\modules\ruins\spaceruin_code\voyager.dm" #include "code\modules\security_levels\keycard_authentication.dm" #include "code\modules\security_levels\security_levels.dm" #include "code\modules\server_commands\servermsg.dm"