mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 10:04:30 +01:00
[MIRROR] Basic Mob Spiders I: Ability refactor [MDB IGNORE] (#19200)
* Basic Mob Spiders I: Ability refactor * Update tgstation.dme * Update tgstation.dme * Update tgstation.dme * Update tgstation.dme * Update tgstation.dme * Update tgstation.dme --------- Co-authored-by: Jacquerel <hnevard@gmail.com> Co-authored-by: KathrinBailey <53862927+KathrinBailey@users.noreply.github.com> Co-authored-by: KathrinBailey <kat892@outlook.com>
This commit is contained in:
@@ -43,8 +43,9 @@
|
||||
return
|
||||
if(!HAS_TRAIT(user,TRAIT_WEB_WEAVER))
|
||||
return
|
||||
user.visible_message(span_notice("[user] begins weaving [src] into cloth."), span_notice("You begin weaving [src] into cloth."))
|
||||
user.balloon_alert_to_viewers("weaving...")
|
||||
if(!do_after(user, 2 SECONDS))
|
||||
user.balloon_alert(user, "interrupted!")
|
||||
return
|
||||
qdel(src)
|
||||
var/obj/item/stack/sheet/cloth/woven_cloth = new /obj/item/stack/sheet/cloth
|
||||
@@ -67,7 +68,7 @@
|
||||
if(istype(mover.pulledby, /mob/living/simple_animal/hostile/giant_spider))
|
||||
return TRUE
|
||||
if(prob(50))
|
||||
to_chat(mover, span_danger("You get stuck in \the [src] for a moment."))
|
||||
balloon_alert(mover, "stuck in web!")
|
||||
return FALSE
|
||||
else if(isprojectile(mover))
|
||||
return prob(30)
|
||||
@@ -95,7 +96,7 @@
|
||||
if(mover.pulledby == allowed_mob)
|
||||
return TRUE
|
||||
if(prob(50))
|
||||
to_chat(mover, span_danger("You get stuck in \the [src] for a moment."))
|
||||
balloon_alert(mover, "stuck in web!")
|
||||
return FALSE
|
||||
else if(isprojectile(mover))
|
||||
return prob(30)
|
||||
|
||||
Reference in New Issue
Block a user