mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 23:58:07 +01:00
[MIRROR] Refactors monkeys into a species (#2379)
* Refactors monkeys into a species * aaa Co-authored-by: Qustinnus <Floydje123@hotmail.com> Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
co-authored by
Qustinnus
Azarak
parent
898121f9cd
commit
d7f054b035
@@ -180,11 +180,11 @@
|
||||
/datum/mutation/human/race/on_acquiring(mob/living/carbon/human/owner)
|
||||
if(..())
|
||||
return
|
||||
. = owner.monkeyize(TR_KEEPITEMS | TR_KEEPIMPLANTS | TR_KEEPORGANS | TR_KEEPDAMAGE | TR_KEEPVIRUS | TR_KEEPSTUNS | TR_KEEPREAGENTS | TR_KEEPSE | TR_KEEPAI)
|
||||
. = owner.monkeyize()
|
||||
|
||||
/datum/mutation/human/race/on_losing(mob/living/carbon/monkey/owner)
|
||||
if(owner && istype(owner) && owner.stat != DEAD && (owner.dna.mutations.Remove(src)))
|
||||
. = owner.humanize(TR_KEEPITEMS | TR_KEEPIMPLANTS | TR_KEEPORGANS | TR_KEEPDAMAGE | TR_KEEPVIRUS | TR_KEEPSTUNS | TR_KEEPREAGENTS | TR_KEEPSE | TR_KEEPAI)
|
||||
/datum/mutation/human/race/on_losing(mob/living/carbon/human/owner)
|
||||
if(owner && owner.stat != DEAD && (owner.dna.mutations.Remove(src)) && ismonkey(owner))
|
||||
. = owner.humanize()
|
||||
|
||||
/datum/mutation/human/glow
|
||||
name = "Glowy"
|
||||
|
||||
@@ -110,7 +110,7 @@
|
||||
return
|
||||
|
||||
var/mob/living/carbon/possible_throwable = user.pulling
|
||||
if(!possible_throwable.getorganslot(ORGAN_SLOT_TAIL) && !ismonkey(possible_throwable))
|
||||
if(!possible_throwable.getorganslot(ORGAN_SLOT_TAIL))
|
||||
return
|
||||
|
||||
if(ishuman(possible_throwable))
|
||||
|
||||
Reference in New Issue
Block a user