mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
Simple mob port [IDB IGNORE] (#18236)
* first adjustements * few more * construct * next * next set * next * next * next * next * next * . * last non modular set * make it compile * . * . * change that * synx * teamush * override fix * TEAMUSH * adds organ sell element * adds pick color * get rid of these chompcomments * removes chomp comments * Update gaslamp_vr.dm * zipgun * zip and synx * fixes synx * Update topic.dm * move the trash verbs * . * . * . * port * Update rakshasa_trap.dm * Update slug.dm --------- Co-authored-by: C.L. <killer65311@gmail.com> Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com>
This commit is contained in:
@@ -35,13 +35,15 @@
|
||||
/// Color is optional, each position after the name is a color channel from 1 to n.
|
||||
var/list/ear_secondary_type
|
||||
var/list/wing_type = null
|
||||
var/hair = null
|
||||
var/corpsesynthtype = 0 // 0 for organic, 1 for drone, 2 for posibrain
|
||||
var/corpsesynthbrand = "Unbranded"
|
||||
var/corpsesensormode = 0
|
||||
delete_me = TRUE
|
||||
|
||||
/obj/effect/landmark/mobcorpse/Initialize(mapload)
|
||||
. = ..()
|
||||
createCorpse()
|
||||
. = ..()
|
||||
|
||||
/obj/effect/landmark/mobcorpse/proc/createCorpse() //Creates a mob and checks for gear in each slot before attempting to equip it.
|
||||
var/mob/living/carbon/human/M = new /mob/living/carbon/human (src.loc)
|
||||
@@ -90,6 +92,9 @@
|
||||
M.g_ears3 = color_rgb_list[2]
|
||||
M.b_ears3 = color_rgb_list[3]
|
||||
M.update_hair()
|
||||
if(hair)
|
||||
M.h_style = hair
|
||||
M.update_hair()
|
||||
// handle secondary ears
|
||||
if(length(ear_secondary_type) && (ear_secondary_type[1] in GLOB.ear_styles_list))
|
||||
M.ear_secondary_style = GLOB.ear_styles_list[ear_secondary_type[1]]
|
||||
@@ -117,6 +122,8 @@
|
||||
M.update_wing_showing()
|
||||
M.real_name = generateCorpseName()
|
||||
M.set_stat(DEAD) //Kills the new mob
|
||||
M.digest_leave_remains = TRUE
|
||||
M.can_be_drop_prey = TRUE
|
||||
if(corpsesynthtype > 0)
|
||||
if(!corpsesynthbrand)
|
||||
corpsesynthbrand = "Unbranded"
|
||||
@@ -128,6 +135,10 @@
|
||||
O.robotize(corpsesynthbrand)
|
||||
if(src.corpseuniform)
|
||||
M.equip_to_slot_or_del(new src.corpseuniform(M), slot_w_uniform)
|
||||
if(M.w_uniform)
|
||||
M.w_uniform?:sensor_mode = corpsesensormode
|
||||
if(src.corpsesuit)
|
||||
M.equip_to_slot_or_del(new src.corpsesuit(M), slot_wear_suit)
|
||||
if(src.corpseshoes)
|
||||
M.equip_to_slot_or_del(new src.corpseshoes(M), slot_shoes)
|
||||
if(src.corpsegloves)
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
//////////////////////////
|
||||
// Vox Bodies
|
||||
//////////////////////////
|
||||
|
||||
/obj/effect/landmark/mobcorpse/vox
|
||||
name = "vox"
|
||||
hair = "Short Vox Quills"
|
||||
species = SPECIES_VOX
|
||||
|
||||
//Types of Vox corpses:
|
||||
|
||||
/obj/effect/landmark/mobcorpse/vox/pirate
|
||||
name = "vox pirate"
|
||||
corpseuniform = /obj/item/clothing/under/color/black
|
||||
corpsesuit = /obj/item/clothing/suit/armor/vox_scrap
|
||||
corpseshoes = /obj/item/clothing/shoes/boots/workboots
|
||||
corpsegloves = /obj/item/clothing/gloves/light_brown
|
||||
corpsemask = /obj/item/clothing/mask/breath
|
||||
|
||||
/obj/effect/landmark/mobcorpse/vox/boarder_m
|
||||
name = "vox melee boarder"
|
||||
corpseuniform = /obj/item/clothing/under/vox/vox_casual
|
||||
corpsesuit = /obj/item/clothing/suit/armor/vox_scrap
|
||||
corpseshoes = /obj/item/clothing/shoes/boots/workboots
|
||||
corpsegloves = /obj/item/clothing/gloves/light_brown
|
||||
corpsemask = /obj/item/clothing/mask/breath
|
||||
|
||||
/obj/effect/landmark/mobcorpse/vox/boarder_r
|
||||
name = "vox ranged boarder"
|
||||
corpseuniform = /obj/item/clothing/under/rank/bartender
|
||||
corpsesuit = /obj/item/clothing/suit/armor/bulletproof
|
||||
corpseshoes = /obj/item/clothing/shoes/boots/workboots
|
||||
corpsemask = /obj/item/clothing/mask/breath
|
||||
|
||||
/obj/effect/landmark/mobcorpse/vox/boarder_t
|
||||
name = "vox salvage technician"
|
||||
corpseuniform = /obj/item/clothing/under/rank/bartender
|
||||
corpsesuit = /obj/item/clothing/suit/armor/bulletproof
|
||||
corpseshoes = /obj/item/clothing/shoes/boots/workboots
|
||||
corpsemask = /obj/item/clothing/mask/breath
|
||||
|
||||
/obj/effect/landmark/mobcorpse/vox/suppressor
|
||||
name = "vox suppressor"
|
||||
corpseuniform = /obj/item/clothing/under/color/red
|
||||
corpsesuit = /obj/item/clothing/suit/storage/toggle/fr_jacket
|
||||
corpseshoes = /obj/item/clothing/shoes/orange
|
||||
corpsegloves = /obj/item/clothing/gloves/red
|
||||
corpsemask = /obj/item/clothing/mask/gas/half
|
||||
|
||||
/obj/effect/landmark/mobcorpse/vox/captain
|
||||
name = "vox captain"
|
||||
corpseuniform = /obj/item/clothing/under/color/black
|
||||
corpsesuit = /obj/item/clothing/suit/space/vox/carapace
|
||||
corpseshoes = /obj/item/clothing/shoes/magboots/vox
|
||||
corpsegloves = /obj/item/clothing/gloves/light_brown
|
||||
corpsemask = /obj/item/clothing/mask/breath
|
||||
corpsehelmet = /obj/item/clothing/head/helmet/riot
|
||||
Reference in New Issue
Block a user