mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Merge pull request #15536 from optimumtact/spidersspiderseverywhere
Don't allow every single spider to be player controllable
This commit is contained in:
@@ -48,18 +48,19 @@
|
||||
gold_core_spawnable = 1
|
||||
see_invisible = SEE_INVISIBLE_MINIMUM
|
||||
see_in_dark = 4
|
||||
var/playable_spider = FALSE
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/giant_spider/Topic(href, href_list)
|
||||
if(href_list["activate"])
|
||||
var/mob/dead/observer/ghost = usr
|
||||
if(istype(ghost))
|
||||
if(istype(ghost) && playable_spider)
|
||||
humanize_spider(ghost)
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/giant_spider/attack_ghost(mob/user)
|
||||
humanize_spider(user)
|
||||
|
||||
/mob/living/simple_animal/hostile/poison/giant_spider/proc/humanize_spider(mob/user)
|
||||
if(key)//Someone is in it
|
||||
if(key || !playable_spider)//Someone is in it or the fun police are shutting it down
|
||||
return
|
||||
var/spider_ask = alert("Become a spider?", "Are you australian?", "Yes", "No")
|
||||
if(spider_ask == "No" || !src || qdeleted(src))
|
||||
|
||||
Reference in New Issue
Block a user