From b5dc828756ebf9aa612fb3067993915dce4bd0c2 Mon Sep 17 00:00:00 2001 From: CitadelStationBot Date: Fri, 15 Sep 2017 03:22:19 -0500 Subject: [PATCH] [MIRROR] Procedurally generated Gondolas. (#2786) * Procedurally generated Gondolas. (#30700) * Adds Gondoland and the rare Gondolas * at the end of history * /lizard >>> /gondola * expand GOND * for cyberboss he wants it in TGM * thicc health * thiccer health * Procedurally generated Gondolas * Procedurally generated Gondolas * aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * Procedurally generated Gondolas. --- .../living/simple_animal/friendly/gondola.dm | 48 +++++++++++++++--- icons/mob/gondolas.dmi | Bin 1020 -> 1269 bytes 2 files changed, 42 insertions(+), 6 deletions(-) diff --git a/code/modules/mob/living/simple_animal/friendly/gondola.dm b/code/modules/mob/living/simple_animal/friendly/gondola.dm index e5dfd71e09..7e8dcec1ce 100644 --- a/code/modules/mob/living/simple_animal/friendly/gondola.dm +++ b/code/modules/mob/living/simple_animal/friendly/gondola.dm @@ -1,29 +1,65 @@ +#define GONDOLA_HEIGHT pick("gondola_body_long", "gondola_body_medium", "gondola_body_short") +#define GONDOLA_COLOR pick("A87855", "915E48", "683E2C") +#define GONDOLA_MOUSTACHE pick("gondola_moustache_large", "gondola_moustache_small") +#define GONDOLA_EYES pick("gondola_eyes_close", "gondola_eyes_far") + //Gondolas /mob/living/simple_animal/pet/gondola name = "gondola" real_name = "gondola" desc = "Gondola is the silent walker. Having no hands he embodies the Taoist principle of wu-wei (non-action) while his smiling facial expression shows his utter and complete acceptance of the world as it is. Its hide is extremely valuable." - response_help = "pets" + response_help = "pets" response_disarm = "bops" - response_harm = "kicks" - emote_see = list("watches.", "stares off into the distance.","contemplates.") + response_harm = "kicks" faction = list("gondola") turns_per_move = 10 icon = 'icons/mob/gondolas.dmi' icon_state = "gondola" icon_living = "gondola" - icon_dead = "gondola_dead" - butcher_results = list(/obj/item/stack/sheet/animalhide/gondola = 1) + loot = list(/obj/effect/decal/cleanable/blood/gibs, /obj/item/stack/sheet/animalhide/gondola = 1) //Gondolas aren't affected by cold. atmos_requirements = list("min_oxy" = 0, "max_oxy" = 0, "min_tox" = 0, "max_tox" = 0, "min_co2" = 0, "max_co2" = 0, "min_n2" = 0, "max_n2" = 0) minbodytemp = 0 maxbodytemp = 1500 maxHealth = 200 health = 200 + del_on_death = TRUE + +/mob/living/simple_animal/pet/gondola/Initialize() + . = ..() + CreateGondola() + +/mob/living/simple_animal/pet/gondola/proc/CreateGondola() + icon_state = null + icon_living = null + var/height = GONDOLA_HEIGHT + var/mutable_appearance/body_overlay = mutable_appearance(icon, height) + var/mutable_appearance/eyes_overlay = mutable_appearance(icon, GONDOLA_EYES) + var/mutable_appearance/moustache_overlay = mutable_appearance(icon, GONDOLA_MOUSTACHE) + body_overlay.color = ("#[GONDOLA_COLOR]") + + //Offset the face to match the Gondola's height. + switch(height) + if("gondola_body_medium") + eyes_overlay.pixel_y = -4 + moustache_overlay.pixel_y = -4 + if("gondola_body_short") + eyes_overlay.pixel_y = -8 + moustache_overlay.pixel_y = -8 + + cut_overlays(TRUE) + add_overlay(body_overlay) + add_overlay(eyes_overlay) + add_overlay(moustache_overlay) /mob/living/simple_animal/pet/gondola/IsVocal() //Gondolas are the silent walker. return FALSE /mob/living/simple_animal/pet/gondola/emote() - return \ No newline at end of file + return + +#undef GONDOLA_HEIGHT +#undef GONDOLA_COLOR +#undef GONDOLA_MOUSTACHE +#undef GONDOLA_EYES \ No newline at end of file diff --git a/icons/mob/gondolas.dmi b/icons/mob/gondolas.dmi index 15c83bad932810778ab807d118408864be8f8035..c8540fbac0b4420eecc477ad952ca37873ff827d 100644 GIT binary patch literal 1269 zcmV>_Wg7JQPUOX?gwY4r85MnhVQY{@oA{W5G zzPfm;#OKQ209?KhXRx~-Ns zc>+k$tS5`HLSO&@1ENVpK~#90?VaIrqc9AFftCbFLeuwu*+MYJ1lw{WgyMF;o4aAM zv8+9+1WP|!6fWgR5k^|4s77MpKSqLENb3|;^*Iu>Fol0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