mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-12 00:20:55 +01:00
haydee suit
still WIP, sprites need tweaks
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
/obj/item/clothing/head/helmet/space/hardsuit/engine/haydee
|
||||
name = "Haydee Helmet"
|
||||
desc = "A strange helmet. Offers little to no protection."
|
||||
icon = 'GainStation13/icons/obj/haydee_modular.dmi'
|
||||
alternate_worn_icon = 'GainStation13/icons/obj/haydee_modular.dmi'
|
||||
icon_state = "haydee_helmet"
|
||||
item_state = "haydee_helmet"
|
||||
armor = list("melee" = 10, "bullet" = 5, "laser" = 10, "energy" = 5, "bomb" = 0, "bio" = 0, "rad" = 25, "fire" = 25, "acid" = 25)
|
||||
item_color = "white"
|
||||
mutantrace_variation = NO_MUTANTRACE_VARIATION
|
||||
|
||||
/obj/item/clothing/suit/space/hardsuit/engine/haydee
|
||||
name = "Haydee Suit"
|
||||
desc = "A strangely voluptous suit. Offers little to no protection. It also appears to have minor flab-compressing properties."
|
||||
icon = 'GainStation13/icons/obj/haydee_modular.dmi'
|
||||
alternate_worn_icon = 'GainStation13/icons/obj/haydee_modular.dmi'
|
||||
icon_state = "haydee_suit1"
|
||||
item_state = "haydee_suit1"
|
||||
armor = list("melee" = 10, "bullet" = 5, "laser" = 10, "energy" = 5, "bomb" = 10, "bio" = 0, "rad" = 25, "fire" = 25, "acid" = 25)
|
||||
allowed = list(/obj/item/flashlight, /obj/item/tank/internals)
|
||||
actions_types = list(/datum/action/item_action/toggle_helmet)
|
||||
helmettype = /obj/item/clothing/head/helmet/space/hardsuit/engine/haydee
|
||||
mutantrace_variation = NO_MUTANTRACE_VARIATION
|
||||
var/icon_location = 'GainStation13/icons/obj/haydee_modular.dmi'
|
||||
var/mob/living/carbon/U
|
||||
|
||||
//haydee gun
|
||||
/obj/item/gun/ballistic/automatic/pistol/haydee
|
||||
name = "Simplistic Pistol"
|
||||
desc = "10mm handgun. It seems to be clad in overly simplistic white shell."
|
||||
icon = 'GainStation13/icons/obj/haydee_modular.dmi'
|
||||
icon_state = "pistol"
|
||||
can_suppress = FALSE
|
||||
|
||||
/obj/item/gun/ballistic/automatic/toy/pistol/haydee
|
||||
name = "Simplistic Toy Pistol"
|
||||
desc = "A small, easily concealable toy handgun."
|
||||
icon = 'GainStation13/icons/obj/haydee_modular.dmi'
|
||||
icon_state = "pistol"
|
||||
|
||||
|
||||
/obj/item/clothing/suit/space/hardsuit/engine/haydee/equipped(mob/user, slot) //whenever the clothes are in someone's inventory the clothes keep track of who that user is
|
||||
..()
|
||||
U = user
|
||||
|
||||
/obj/item/clothing/suit/space/hardsuit/engine/haydee/dropped() //whenever the clothes leave a person's inventory, they forget who held them
|
||||
..()
|
||||
U = null
|
||||
|
||||
// /obj/item/clothing/suit/space/hardsuit/engine/haydee/jumpsuit_adjust() //when the user adjusts the clothes' style, rebuild the overlays
|
||||
// ..()
|
||||
// worn_overlays()
|
||||
|
||||
/obj/item/clothing/suit/space/hardsuit/engine/haydee/worn_overlays(isinhands = FALSE)
|
||||
if(U)
|
||||
if(!isinhands)
|
||||
. = list()
|
||||
if(U.fatness <= 439)
|
||||
. += mutable_appearance(icon_location, "haydee_suit1", GENITALS_UNDER_LAYER)
|
||||
if(U.fatness >= 440)
|
||||
. += mutable_appearance(icon_location, "haydee_suit2", GENITALS_UNDER_LAYER)
|
||||
if(U.fatness >= 1240)
|
||||
. += mutable_appearance(icon_location, "haydee_suit3", GENITALS_UNDER_LAYER)
|
||||
if(U.fatness >= 3440)
|
||||
. += mutable_appearance(icon_location, "haydee_suit4", GENITALS_UNDER_LAYER)
|
||||
if(damaged_clothes)
|
||||
. += mutable_appearance('icons/effects/item_damage.dmi', "damageduniform")
|
||||
if(blood_DNA)
|
||||
. += mutable_appearance('icons/effects/blood.dmi', "uniformblood", color = blood_DNA_to_color())
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.9 KiB |
@@ -15,7 +15,6 @@
|
||||
// BEGIN_INCLUDE
|
||||
#include "_maps\_basemap.dm"
|
||||
#include "_maps\map_files\generic\CentCom.dmm"
|
||||
#include "code\_byond_version_compat.dm"
|
||||
#include "code\_compile_options.dm"
|
||||
#include "code\world.dm"
|
||||
#include "code\__DEFINES\_globals.dm"
|
||||
@@ -135,7 +134,6 @@
|
||||
#include "code\__HELPERS\matrices.dm"
|
||||
#include "code\__HELPERS\mobs.dm"
|
||||
#include "code\__HELPERS\mouse_control.dm"
|
||||
#include "code\__HELPERS\nameof.dm"
|
||||
#include "code\__HELPERS\names.dm"
|
||||
#include "code\__HELPERS\priority_announce.dm"
|
||||
#include "code\__HELPERS\pronouns.dm"
|
||||
|
||||
Reference in New Issue
Block a user