mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
[MIRROR] Dynamic Human Icon Generation For Simple/Basic Mobs (& Cardboard Cutouts) [MDB IGNORE] (#18884)
* Dynamic Human Icon Generation For Simple/Basic Mobs (& Cardboard Cutouts) (#72517) revive of #68760 this time a proc, not an element this time supports cardboard cutouts this time supports mob corpses  prevents these icons ever being outdated, they'll always look what they are supposed to, saves spriting work 🆑 Fikou, a hood by Viro refactor: humanoid mobs and cardboard cutouts automatically generate their sprites, they no longer will be outdated /🆑 Co-authored-by: Time-Green <timkoster1@hotmail.com> * Modular! * Fix signal override merge skew (#72882) Caused by https://github.com/tgstation/tgstation/pull/72517, with https://github.com/tgstation/tgstation/pull/72561 raising an error that was being hidden before This changes equip logic somewhat so that set_wearer was being called twice. I don't think this should be being run in visualsOnly at all, as it does a ton of stuff like registering signals, updating UI, etc etc etc. Don't have time to investigate further. --------- Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> Co-authored-by: Time-Green <timkoster1@hotmail.com> Co-authored-by: GoldenAlpharex <jerego1234@hotmail.com> Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
co-authored by
Fikou
Time-Green
GoldenAlpharex
Mothblocks
parent
a1fe0965ca
commit
60bfb76832
@@ -130,25 +130,21 @@ GLOBAL_VAR_INIT(fscpassword, generate_password())
|
||||
/mob/living/simple_animal/hostile/nanotrasen/ranged/assault
|
||||
name = "Nanotrasen Assault Officer"
|
||||
desc = "Nanotrasen Assault Officer. Contact CentCom if you saw him on your station. Prepare to die, if you've been found near Syndicate property."
|
||||
icon_state = "nanotrasenrangedassault"
|
||||
icon_living = "nanotrasenrangedassault"
|
||||
icon_dead = null
|
||||
icon_gib = "syndicate_gib"
|
||||
ranged = TRUE
|
||||
rapid = 4
|
||||
rapid_fire_delay = 1
|
||||
rapid_melee = 1
|
||||
retreat_distance = 2
|
||||
minimum_distance = 4
|
||||
casingtype = /obj/item/ammo_casing/c46x30mm
|
||||
projectilesound = 'sound/weapons/gun/general/heavy_shot_suppressed.ogg'
|
||||
casingtype = /obj/item/ammo_casing/a556/weak
|
||||
projectilesound = 'sound/weapons/gun/smg/shot.ogg'
|
||||
loot = list(/obj/effect/mob_spawn/corpse/human/nanotrasenassaultsoldier)
|
||||
mob_spawner = /obj/effect/mob_spawn/corpse/human/nanotrasenassaultsoldier
|
||||
held_item = /obj/item/gun/ballistic/automatic/ar
|
||||
|
||||
/mob/living/simple_animal/hostile/nanotrasen/elite
|
||||
name = "Nanotrasen Elite Assault Officer"
|
||||
desc = "Pray for your life, syndicate. Run while you can."
|
||||
icon_state = "nanotrasen_ert"
|
||||
icon_living = "nanotrasen_ert"
|
||||
maxHealth = 150
|
||||
health = 150
|
||||
melee_damage_lower = 13
|
||||
@@ -165,3 +161,5 @@ GLOBAL_VAR_INIT(fscpassword, generate_password())
|
||||
projectilesound = 'sound/weapons/laser.ogg'
|
||||
loot = list(/obj/effect/gibspawner/human)
|
||||
faction = list(ROLE_DEATHSQUAD)
|
||||
mob_spawner = /obj/effect/mob_spawn/corpse/human/nanotrasenelitesoldier
|
||||
held_item = /obj/item/gun/energy/pulse/carbine/lethal
|
||||
|
||||
Reference in New Issue
Block a user