mirror of
https://github.com/Aurorastation/Aurora-Old.git
synced 2026-08-24 05:06:16 +01:00
Merge pull request #457 from GlamourChariot/master
Glamour is Helping 26/03/15
This commit is contained in:
@@ -80,12 +80,7 @@
|
||||
if("labgreen_all")
|
||||
src.icon_state = "labgreen_open"
|
||||
usr << "You unbotton the labcoat."
|
||||
if("fabian_coat_open")
|
||||
src.icon_state = "fabian_coat_closed"
|
||||
usr << "You button up the coat's buttons."
|
||||
if("fabian_coat_closed")
|
||||
src.icon_state = "fabian_coat_open"
|
||||
usr << "You unbutton the coat's buttons."
|
||||
|
||||
else
|
||||
usr << "You attempt to button-up the velcro on your [src], before promptly realising how retarded you are."
|
||||
return
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
/mob/living/simple_animal/mushroom
|
||||
name = "walking mushroom"
|
||||
desc = "It's a massive mushroom... with legs?"
|
||||
icon_state = "mushroom"
|
||||
icon_living = "mushroom"
|
||||
icon_dead = "mushroom_dead"
|
||||
icon = 'icons/mob/livestock.dmi'
|
||||
icon_state = "walkingmushroom"
|
||||
icon_living = "walkingmushroom"
|
||||
icon_dead = "walkingmushroom_d"
|
||||
small = 1
|
||||
speak_chance = 0
|
||||
turns_per_move = 1
|
||||
|
||||
@@ -243,6 +243,12 @@
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message("\blue [M] [response_help] [src]")
|
||||
|
||||
if("disarm")
|
||||
if (health > 0)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message("\blue [M] [response_disarm] [src]")
|
||||
|
||||
if("grab")
|
||||
if (M == src)
|
||||
return
|
||||
@@ -262,7 +268,7 @@
|
||||
if ((O.client && !( O.blinded )))
|
||||
O.show_message(text("\red [] has grabbed [] passively!", M, src), 1)
|
||||
|
||||
if("hurt", "disarm")
|
||||
if("hurt")
|
||||
adjustBruteLoss(harm_intent_damage)
|
||||
for(var/mob/O in viewers(src, null))
|
||||
if ((O.client && !( O.blinded )))
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
spawn(5)
|
||||
if(!powernet)
|
||||
connect_to_network()
|
||||
|
||||
|
||||
dir_loop:
|
||||
for(var/d in cardinal)
|
||||
var/turf/T = get_step(src, d)
|
||||
|
||||
@@ -249,6 +249,11 @@
|
||||
mouthshoot = 0
|
||||
return
|
||||
|
||||
if(istype(in_chamber, /obj/item/projectile/beam/practice))
|
||||
user.show_message("<span class = 'warning'>You feel rather silly, trying to commit suicide with a practice gun.</span>")
|
||||
mouthshoot = 0
|
||||
return
|
||||
|
||||
in_chamber.on_hit(M)
|
||||
if (in_chamber.damage_type != HALLOSS)
|
||||
user.apply_damage(in_chamber.damage*2.5, in_chamber.damage_type, "head", used_weapon = "Point blank shot in the mouth with \a [in_chamber]", sharp=1)
|
||||
|
||||
@@ -95,6 +95,10 @@
|
||||
miss_modifier += -30
|
||||
def_zone = get_zone_with_miss_chance(def_zone, M, miss_modifier + 15*distance + daddy.accuracy + daddy.rangedrop) // add +daddy.missmod vars to gun and this. snowflake accuracy
|
||||
//moving def_zone to be a child of the daddyblock because i need the daddy. all projectiles should be fired from guns anyway
|
||||
|
||||
if (istype(shot_from,/obj/item/mecha_parts/mecha_equipment/weapon)) //If you shoot with a mecha weapon instead, check accuracy without a steady variable
|
||||
def_zone = get_zone_with_miss_chance(def_zone, M, miss_modifier + 10*distance)
|
||||
|
||||
if(!def_zone)
|
||||
visible_message("\blue \The [src] misses [M] narrowly!")
|
||||
forcedodge = -1
|
||||
|
||||
Reference in New Issue
Block a user