[MIRROR] Raptor sprite overhaul (#7633)

Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com>
Co-authored-by: Raeschen <rycoop29@gmail.com>
This commit is contained in:
CHOMPStation2
2024-01-27 11:57:44 -07:00
committed by GitHub
parent fe4cf73003
commit b6eea9b639
19 changed files with 154 additions and 12 deletions

View File

@@ -8,9 +8,8 @@
var/has_shield_sprite = FALSE
/datum/robot_sprite/combat/handle_extra_icon_updates(var/mob/living/silicon/robot/ourborg)
if(has_speed_sprite)
if(istype(ourborg.module_active,/obj/item/borg/combat/mobility))
ourborg.icon_state = "[sprite_icon_state]-roll"
if(has_speed_sprite && istype(ourborg.module_active, /obj/item/borg/combat/mobility))
ourborg.icon_state = "[sprite_icon_state]-roll"
if(has_shield_sprite)
if(ourborg.has_active_type(/obj/item/borg/combat/shield))
var/obj/item/borg/combat/shield/shield = locate() in ourborg
@@ -93,10 +92,20 @@
has_custom_equipment_sprites = TRUE
var/has_gun_sprite = FALSE
var/has_speed_sprite = FALSE
var/has_shield_sprite = FALSE
/datum/robot_sprite/dogborg/tall/combat/handle_extra_icon_updates(var/mob/living/silicon/robot/ourborg)
if(has_gun_sprite && (istype(ourborg.module_active, /obj/item/weapon/gun/energy/laser/mounted) || istype(ourborg.module_active, /obj/item/weapon/gun/energy/taser/mounted/cyborg/ertgun) || istype(ourborg.module_active, /obj/item/weapon/gun/energy/lasercannon/mounted)))
ourborg.add_overlay("[sprite_icon_state]-gun")
if(has_speed_sprite && (istype(ourborg.module_active, /obj/item/borg/combat/mobility)))
ourborg.icon_state = "[sprite_icon_state]-roll"
if(has_shield_sprite)
if(ourborg.has_active_type(/obj/item/borg/combat/shield))
var/obj/item/borg/combat/shield/shield = locate() in ourborg
if(shield && shield.active)
ourborg.add_overlay("[sprite_icon_state]-shield")
/datum/robot_sprite/dogborg/tall/combat/do_equipment_glamour(var/obj/item/weapon/robot_module/module)
if(!has_custom_equipment_sprites)
@@ -136,3 +145,29 @@
rest_sprite_options = list("Default")
has_eye_sprites = FALSE
has_eye_light_sprites = TRUE
/datum/robot_sprite/dogborg/tall/combat/raptor
name = "Raptor V-4"
sprite_icon_state = "raptor"
sprite_hud_icon_state = "ert"
rest_sprite_options = list("Default", "Bellyup")
has_gun_sprite = TRUE
has_eye_light_sprites = TRUE
has_shield_sprite = TRUE
has_speed_sprite = TRUE
/datum/robot_sprite/dogborg/tall/combat/raptor/get_eyes_overlay(var/mob/living/silicon/robot/ourborg)
if(istype(ourborg.module_active,/obj/item/borg/combat/mobility))
return
else
return ..()
/datum/robot_sprite/dogborg/tall/combat/raptor/get_eye_light_overlay(var/mob/living/silicon/robot/ourborg)
if(istype(ourborg.module_active,/obj/item/borg/combat/mobility))
return
else
return ..()
/datum/robot_sprite/dogborg/tall/combat/raptor/get_belly_overlay(var/mob/living/silicon/robot/ourborg)
if(istype(ourborg.module_active,/obj/item/borg/combat/mobility))
return
else
return ..()

View File

@@ -47,6 +47,32 @@
sprite_icon_state = "stray"
// Tall sprites
/datum/robot_sprite/dogborg/tall/lost
module_type = "Lost"
sprite_icon = 'icons/mob/robot/lost_large.dmi'
sprite_hud_icon_state = "lost"
var/has_shield_sprite = FALSE
var/has_laser_sprite = FALSE
/datum/robot_sprite/dogborg/tall/lost/handle_extra_icon_updates(var/mob/living/silicon/robot/ourborg)
if(has_laser_sprite && istype(ourborg.module_active, /obj/item/weapon/gun/energy/retro/mounted))
ourborg.add_overlay("[sprite_icon_state]-laser")
if(has_shield_sprite)
if(ourborg.has_active_type(/obj/item/borg/combat/shield))
var/obj/item/borg/combat/shield/shield = locate() in ourborg
if(shield && shield.active)
ourborg.add_overlay("[sprite_icon_state]-shield")
/datum/robot_sprite/dogborg/tall/lost/raptor
name = "Raptor V-4"
sprite_icon_state = "raptor"
has_shield_sprite = TRUE
has_laser_sprite = TRUE
// Gravekeeper
// Regular sprites
@@ -73,4 +99,30 @@
/datum/robot_sprite/gravekeeper/sleek
name = "WTOperator"
sprite_icon_state = "sleek"
has_shield_sprite = TRUE
has_shield_sprite = TRUE
// Tall sprites
/datum/robot_sprite/dogborg/tall/gravekeeper
module_type = "Gravekeeper"
sprite_icon = 'icons/mob/robot/gravekeeper_large.dmi'
sprite_hud_icon_state = "lost"
var/has_shield_sprite = FALSE
var/has_laser_sprite = FALSE
/datum/robot_sprite/dogborg/tall/gravekeeper/handle_extra_icon_updates(var/mob/living/silicon/robot/ourborg)
if(has_laser_sprite && istype(ourborg.module_active, /obj/item/weapon/gun/energy/retro/mounted))
ourborg.add_overlay("[sprite_icon_state]-laser")
if(has_shield_sprite)
if(ourborg.has_active_type(/obj/item/borg/combat/shield))
var/obj/item/borg/combat/shield/shield = locate() in ourborg
if(shield && shield.active)
ourborg.add_overlay("[sprite_icon_state]-shield")
/datum/robot_sprite/dogborg/tall/gravekeeper/raptor
name = "Raptor V-4"
sprite_icon_state = "raptor"
has_shield_sprite = TRUE
has_laser_sprite = TRUE

View File

@@ -150,11 +150,15 @@
/datum/robot_sprite/dogborg/tall/science
module_type = "Research"
sprite_icon = 'icons/mob/robot/science_large.dmi'
var/has_taser_sprite = FALSE
/datum/robot_sprite/dogborg/raptor/science/do_equipment_glamour(var/obj/item/weapon/robot_module/module) //CHOMPEdit - changed typepath
/datum/robot_sprite/dogborg/tall/science/handle_extra_icon_updates(var/mob/living/silicon/robot/ourborg)
if(has_taser_sprite && istype(ourborg.module_active, /obj/item/weapon/gun/energy/taser/xeno/robot))
ourborg.add_overlay("[sprite_icon_state]-taser")
/datum/robot_sprite/dogborg/tall/science/do_equipment_glamour(var/obj/item/weapon/robot_module/module)
if(!has_custom_equipment_sprites)
return
..()
var/obj/item/weapon/shockpaddles/robot/jumper/J = locate() in module.modules
@@ -169,6 +173,7 @@
name = "Raptor V-4"
sprite_icon_state = "raptor"
has_custom_equipment_sprites = TRUE
has_taser_sprite = TRUE
rest_sprite_options = list("Default", "Bellyup")
/datum/robot_sprite/dogborg/tall/science/meka

View File

@@ -185,10 +185,21 @@
module_type = "Security"
sprite_icon = 'icons/mob/robot/security_large.dmi'
var/has_laser_sprite = FALSE
var/has_taser_sprite = FALSE
/datum/robot_sprite/dogborg/tall/security/handle_extra_icon_updates(var/mob/living/silicon/robot/ourborg)
if(has_laser_sprite && istype(ourborg.module_active, /obj/item/weapon/gun/energy/laser/mounted))
ourborg.add_overlay("[sprite_icon_state]-laser")
if(has_taser_sprite && istype(ourborg.module_active, /obj/item/weapon/gun/energy/taser/mounted/cyborg))
ourborg.add_overlay("[sprite_icon_state]-taser")
/datum/robot_sprite/dogborg/tall/security/raptor
name = "Raptor V-4"
sprite_icon_state = "raptor"
has_custom_equipment_sprites = TRUE
has_laser_sprite = TRUE
has_taser_sprite = TRUE
rest_sprite_options = list("Default", "Bellyup")
/datum/robot_sprite/dogborg/tall/security/meka

View File

@@ -32,11 +32,6 @@
sprite_icon = 'icons/mob/robot/syndie_large.dmi'
sprite_hud_icon_state = "malf"
/datum/robot_sprite/dogborg/tall/syndie/raptor
name = "Raptor V-4"
sprite_icon_state = "raptor"
rest_sprite_options = list("Default", "Bellyup")
/datum/robot_sprite/dogborg/tall/syndie/meka
name = "MEKA"
sprite_icon_state = "meka"
@@ -112,6 +107,25 @@
sprite_icon_state = "k9"
has_eye_light_sprites = TRUE
// Tall sprites
/datum/robot_sprite/dogborg/tall/protector
module_type = "Protector"
sprite_icon = 'icons/mob/robot/syndie_large.dmi'
sprite_hud_icon_state = "malf"
var/has_gun_sprite = FALSE
/datum/robot_sprite/dogborg/tall/protector/handle_extra_icon_updates(var/mob/living/silicon/robot/ourborg)
if(has_gun_sprite && istype (ourborg.module_active, /obj/item/weapon/gun/energy/dakkalaser))
ourborg.add_overlay("[sprite_icon_state]-gun")
/datum/robot_sprite/dogborg/tall/protector/syndiprotraptor
name = "Raptor V-4"
sprite_icon_state = "syndiprotraptor"
has_eye_light_sprites = TRUE
has_gun_sprite = TRUE
rest_sprite_options = list("Default", "Bellyup")
// Mechanist
@@ -143,6 +157,18 @@
has_eye_light_sprites = TRUE
rest_sprite_options = list("Default")
// Tall sprites
/datum/robot_sprite/dogborg/tall/mechanist
module_type = "Mechanist"
sprite_icon = 'icons/mob/robot/syndie_large.dmi'
sprite_hud_icon_state = "malf"
/datum/robot_sprite/dogborg/tall/mechanist/syndimechraptor
name = "Raptor V-4"
sprite_icon_state = "syndimechraptor"
has_eye_light_sprites = TRUE
rest_sprite_options = list("Default", "Bellyup")
// Combat Medic
@@ -183,3 +209,16 @@
sprite_icon_state = "vale"
has_eye_light_sprites = TRUE
has_sleeper_light_indicator = TRUE
// Tall sprites
/datum/robot_sprite/dogborg/tall/combat_medic
module_type = "Combat Medic"
sprite_icon = 'icons/mob/robot/syndie_large.dmi'
sprite_hud_icon_state = "malf"
/datum/robot_sprite/dogborg/tall/combat_medic/syndimediraptor
name = "Raptor V-4"
sprite_icon_state = "syndimediraptor"
has_eye_light_sprites = TRUE
rest_sprite_options = list("Default", "Bellyup")

View File

@@ -275,7 +275,7 @@
/obj/item/projectile/energy/blue_pellet
name = "suppressive pellet"
icon_state = "blue_pellet"
fire_sound = 'sound/weapons/Laser.ogg'
fire_sound = 'sound/weapons/Laser4.ogg'
damage = 5
armor_penetration = 75
pass_flags = PASSTABLE | PASSGLASS | PASSGRILLE

Binary file not shown.

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

After

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 KiB

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 KiB

After

Width:  |  Height:  |  Size: 125 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 143 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 167 KiB

After

Width:  |  Height:  |  Size: 196 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 KiB

After

Width:  |  Height:  |  Size: 228 KiB

BIN
sound/weapons/Laser4.ogg Normal file

Binary file not shown.