mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-14 16:44:33 +01:00
Spider Balance--Venom
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/poison
|
||||
var/poison_per_bite = 5
|
||||
var/poison_type = "venom"
|
||||
var/poison_type = "spidertoxin"
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/AttackingTarget()
|
||||
..()
|
||||
if(isliving(target))
|
||||
var/mob/living/L = target
|
||||
if(L.reagents)
|
||||
L.reagents.add_reagent("venom", poison_per_bite)
|
||||
L.reagents.add_reagent("spidertoxin", poison_per_bite)
|
||||
if(prob(poison_per_bite))
|
||||
L << "<span class='danger'>You feel a tiny prick.</span>"
|
||||
L.reagents.add_reagent(poison_type, poison_per_bite)
|
||||
|
||||
@@ -321,6 +321,19 @@ datum
|
||||
..()
|
||||
return
|
||||
|
||||
spider_venom
|
||||
name = "Spider venom"
|
||||
id = "spidertoxin"
|
||||
description = "A toxic venom injected by spacefaring arachnids."
|
||||
reagent_state = LIQUID
|
||||
color = "#CF3600" // rgb: 207, 54, 0
|
||||
|
||||
on_mob_life(var/mob/living/M as mob)
|
||||
if(!M) M = holder.my_atom
|
||||
M.adjustToxLoss(1.5)
|
||||
..()
|
||||
return
|
||||
|
||||
plasticide
|
||||
name = "Plasticide"
|
||||
id = "plasticide"
|
||||
|
||||
Reference in New Issue
Block a user