mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-22 19:46:36 +01:00
SYNC: Compileability fixes
This commit is contained in:
@@ -5,13 +5,14 @@
|
||||
slot = ACCESSORY_SLOT_TORSO //Legacy/balance purposes
|
||||
concealed_holster = 1
|
||||
var/obj/item/holstered = null
|
||||
var/list/can_hold //VOREStation Add
|
||||
|
||||
/obj/item/clothing/accessory/holster/proc/holster(var/obj/item/I, var/mob/living/user)
|
||||
if(holstered && istype(user))
|
||||
user << "<span class='warning'>There is already \a [holstered] holstered here!</span>"
|
||||
return
|
||||
//VOREStation Edit - Machete sheath support
|
||||
if (can_hold)
|
||||
if (LAZYLEN(can_hold))
|
||||
if(!is_type_in_list(I,can_hold))
|
||||
to_chat(user, "<span class='warning'>[I] won't fit in [src]!</span>")
|
||||
return
|
||||
|
||||
@@ -701,7 +701,6 @@
|
||||
|
||||
//One of the levofloxacin side effects is 'spontaneous tendon rupture', which I'll immitate here. 1:1000 chance, so, pretty darn rare.
|
||||
if(ishuman(M) && rand(1,10000) == 1) //VOREStation Edit (more rare)
|
||||
var/mob/living/carbon/human/H = M
|
||||
var/obj/item/organ/external/eo = pick(H.organs) //Misleading variable name, 'organs' is only external organs
|
||||
eo.fracture()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user