Blade re-add, minor item naming fixes, more icons for paperwork (#7265)

This commit is contained in:
Kashargul
2023-12-01 21:55:18 +01:00
committed by GitHub
parent f224fb8187
commit 338ea5620e
5 changed files with 52 additions and 3 deletions

View File

@@ -218,7 +218,7 @@
CASINO_PRIZE("Genemod: Regenerate", /obj/item/weapon/dnainjector/regenerate, 1, 1000, "implants"), CASINO_PRIZE("Genemod: Regenerate", /obj/item/weapon/dnainjector/regenerate, 1, 1000, "implants"),
CASINO_PRIZE("Genemod: Remote view", /obj/item/weapon/dnainjector/remoteview, 1, 1000, "implants"), CASINO_PRIZE("Genemod: Remote view", /obj/item/weapon/dnainjector/remoteview, 1, 1000, "implants"),
CASINO_PRIZE("Genemod: Sprinter", /obj/item/weapon/dnainjector/runfast, 1, 1000, "implants"), CASINO_PRIZE("Genemod: Sprinter", /obj/item/weapon/dnainjector/runfast, 1, 1000, "implants"),
CASINO_PRIZE("Genemod: Telepathy", /obj/item/weapon/dnainjector/telemut, 1, 1000, "implants"), CASINO_PRIZE("Genemod: Telekinesis", /obj/item/weapon/dnainjector/telemut, 1, 1000, "implants"),
CASINO_PRIZE("Genemod: X-ray", /obj/item/weapon/dnainjector/xraymut, 1, 1000, "implants"), CASINO_PRIZE("Genemod: X-ray", /obj/item/weapon/dnainjector/xraymut, 1, 1000, "implants"),
) )

View File

@@ -376,8 +376,12 @@
t = replacetext(t, "\[/row\]", "") //CHOMPEDIT: nuking closing statements for rows. t = replacetext(t, "\[/row\]", "") //CHOMPEDIT: nuking closing statements for rows.
t = replacetext(t, "\[cell\]", "<td>") t = replacetext(t, "\[cell\]", "<td>")
t = replacetext(t, "\[/cell\]", "") //CHOMPEDIT: nuking closing statements for cells. t = replacetext(t, "\[/cell\]", "") //CHOMPEDIT: nuking closing statements for cells.
t = replacetext(t, "\[logo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/ntlogo.png>") //CHOMPEdit //CHOMPEdit Start
t = replacetext(t, "\[sglogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/sglogo.png>") //CHOMPEdit t = replacetext(t, "\[logo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/ntlogo.png>")
t = replacetext(t, "\[sglogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/sglogo.png>")
t = replacetext(t, "\[trlogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/trader.png>")
t = replacetext(t, "\[pclogo\]", "<img src = https://raw.githubusercontent.com/CHOMPStation2/CHOMPStation2/master/html/images/pclogo.png>")
//CHOMPEdit End
t = "<font face=\"[deffont]\" color=[P ? P.colour : "black"]>[t]</font>" t = "<font face=\"[deffont]\" color=[P ? P.colour : "black"]>[t]</font>"
else // If it is a crayon, and he still tries to use these, make them empty! else // If it is a crayon, and he still tries to use these, make them empty!

BIN
html/images/pclogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -22,3 +22,48 @@
name = "K4T" name = "K4T"
sprite_icon_state = "k4tsyndi" sprite_icon_state = "k4tsyndi"
has_vore_belly_sprites = FALSE has_vore_belly_sprites = FALSE
//Using our own category wide here not to interfere with upstream in case they add wide sprites under just dogborg.
/datum/robot_sprite/dogborg/wide/combat
module_type = "Combat"
has_custom_equipment_sprites = TRUE
var/has_gun_sprite = FALSE
var/has_taser_sprite = FALSE
var/has_blade_sprite = FALSE
/datum/robot_sprite/dogborg/wide/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/lasercannon/mounted)))
ourborg.add_overlay("[sprite_icon_state]-laser")
if (has_taser_sprite && (istype(ourborg.module_active, /obj/item/weapon/gun/energy/taser/mounted/cyborg/ertgun)))
ourborg.add_overlay("[sprite_icon_state]-taser")
if (has_blade_sprite && (istype(ourborg.module_active, /obj/item/weapon/combat_borgblade)))
ourborg.add_overlay("[sprite_icon_state]-blade")
/datum/robot_sprite/dogborg/wide/combat/blade/do_equipment_glamour(var/obj/item/weapon/robot_module/module)
if(!has_custom_equipment_sprites)
return
..()
var/obj/item/weapon/combat_borgblade/CBB = locate() in module.modules
if(CBB)
CBB.name = "combat saw"
CBB.desc = "A high frequency blade attached to the end of a cyborg's tail. It appears to be extremely sharp."
var/obj/item/weapon/borg_combat_shocker/BCS = locate() in module.modules
if(BCS)
BCS.name = "combat jaws"
BCS.desc = "Shockingly chompy!"
BCS.icon_state = "ertjaws"
BCS.hitsound = 'sound/weapons/bite.ogg'
BCS.attack_verb = list("chomped", "bit", "ripped", "mauled", "enforced")
BCS.dogborg = TRUE
/datum/robot_sprite/dogborg/wide/combat/blade
sprite_icon = 'modular_chomp/icons/mob/widerobot_ch.dmi'
name = "Blade"
sprite_icon_state = "blade"
sprite_hud_icon_state = "ert"
rest_sprite_options = list()
has_gun_sprite = TRUE
has_taser_sprite = TRUE
has_blade_sprite = TRUE

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 190 KiB