mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-23 20:16:19 +01:00
Taur and borgo feature shieet!
-Added a counter for janihound to keep track of how much crap it's ate. -Lowered janigut capacity to 25 items. -Made mice edible for the borgo. -Gave a gentle touch to the wolftaur sprites. (more types later?) -Added a saddlebag version that fits itself for every quadtaur. -Added a robust combat aesthetic saddlebag as a childtype to the forementioned.
This commit is contained in:
@@ -29,3 +29,44 @@
|
||||
icon_state = "saddlebag_drider"
|
||||
var/taurtype = /datum/sprite_accessory/tail/taur/spider
|
||||
*/
|
||||
|
||||
/obj/item/weapon/storage/backpack/saddlebag_common //Shared bag for other taurs with sturdy backs
|
||||
name = "Taur Saddlebags"
|
||||
desc = "A saddle that holds items. Seems slightly bulky."
|
||||
icon = 'icons/obj/storage_vr.dmi'
|
||||
icon_override = 'icons/mob/back_vr.dmi'
|
||||
item_state = "saddlebag"
|
||||
icon_state = "saddlebag"
|
||||
var/icon_base = "saddlebag"
|
||||
max_storage_space = INVENTORY_DUFFLEBAG_SPACE //Saddlebags can hold more, like dufflebags
|
||||
slowdown = 1 //And are slower, too...Unless you're a macro, that is.
|
||||
var/list/taurtype = list(
|
||||
/datum/sprite_accessory/tail/taur/horse,
|
||||
/datum/sprite_accessory/tail/taur/wolf,
|
||||
/datum/sprite_accessory/tail/taur/cow,
|
||||
/datum/sprite_accessory/tail/taur/lizard,
|
||||
/datum/sprite_accessory/tail/taur/feline)
|
||||
var/no_message = "You aren't the appropriate taur type to wear this!"
|
||||
|
||||
mob_can_equip(var/mob/living/carbon/human/H, slot, disable_warning = 0)
|
||||
if(..())
|
||||
var/datum/sprite_accessory/tail/taur/TT = H.tail_style
|
||||
if(istype(H) && is_type_in_list(TT, taurtype))
|
||||
item_state = "[icon_base]_[TT]"
|
||||
if(H.size_multiplier >= RESIZE_BIG) //Are they a macro?
|
||||
slowdown = 0
|
||||
else
|
||||
slowdown = initial(slowdown)
|
||||
return 1
|
||||
else
|
||||
H << "<span class='warning'>[no_message]</span>"
|
||||
return 0
|
||||
|
||||
/obj/item/weapon/storage/backpack/saddlebag_common/robust //Shared bag for other taurs with sturdy backs
|
||||
name = "Robust Saddlebags"
|
||||
desc = "A saddle that holds items. Seems robust."
|
||||
icon = 'icons/obj/storage_vr.dmi'
|
||||
icon_override = 'icons/mob/back_vr.dmi'
|
||||
item_state = "robustsaddle"
|
||||
icon_state = "robustsaddle"
|
||||
icon_base = "robustsaddle"
|
||||
Reference in New Issue
Block a user