mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 13:10:02 +01:00
[MIRROR] convert the bear to a basic mobster [MDB IGNORE] (#22751)
* convert the bear to a basic mobster * Merge conflicts * Fixing the diffs * Merge conflicts * Update mob.dm * Update VoidRaptor.dmm * why is this pr so cursed --------- Co-authored-by: Ben10Omintrix <138636438+Ben10Omintrix@users.noreply.github.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
co-authored by
Ben10Omintrix
Giz
parent
b81a4ade3a
commit
3fa227223a
@@ -0,0 +1,27 @@
|
||||
/obj/item/bear_armor
|
||||
name = "pile of bear armor"
|
||||
desc = "A scattered pile of various shaped armor pieces fitted for a bear, some duct tape, and a nail filer. Crude instructions \
|
||||
are written on the back of one of the plates in russian. This seems like an awful idea."
|
||||
icon = 'icons/obj/device.dmi'
|
||||
icon_state = "bear_armor_upgrade"
|
||||
|
||||
/obj/item/bear_armor/afterattack(atom/target, mob/user, proximity_flag)
|
||||
. = ..()
|
||||
if(!proximity_flag)
|
||||
return
|
||||
if(!istype(target, /mob/living/basic/bear))
|
||||
return
|
||||
var/mob/living/basic/bear/bear_target = target
|
||||
if(bear_target.armored)
|
||||
to_chat(user, span_warning("[bear_target] has already been armored up!"))
|
||||
return
|
||||
bear_target.armored = TRUE
|
||||
bear_target.maxHealth += 60
|
||||
bear_target.health += 60
|
||||
bear_target.armour_penetration += 20
|
||||
bear_target.melee_damage_lower += 3
|
||||
bear_target.melee_damage_upper += 5
|
||||
bear_target.wound_bonus += 5
|
||||
bear_target.update_icons()
|
||||
to_chat(user, span_info("You strap the armor plating to [bear_target] and sharpen [bear_target.p_their()] claws with the nail filer. This was a great idea."))
|
||||
qdel(src)
|
||||
Reference in New Issue
Block a user