mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
= Giant Spiders = - Nurses spin webs which impede progress, bundle items and mobs up in cocoons, lay eggs to create spiderlings - Nurses are slow and weak, but their bite has a chance to paralyse the victim - Spiderlings skitter about and eventually grow into giant spiders. - Spiderlings will ventcrawl, so they can spread over the station pretty fast. - Hunters are fast, have decent health and the most effective poison - Guards are medium speed but the health and direct damage - The poison of hunters and guards can cause hallucinations if they bite you = Farm animals = - Cows can be milked or butchered for a large supply of meat. Sadists can also tip them over (with intent_help). - Goats can also be milked, but have a nasty temperament. - Chicks grow up to be chickens, who lay eggs and continue the cycle. But where did it start? (they're very noisy). - All three are orderable via QM. My changes: - Added a spider infestation event. - Optimized code with spiders and simple_animals. - Made a /hostile/retaliate type which will only fight back when hurt. Based on Cael's code. - Added some farm animals on the map. - Changed events, added a setup() proc which can let you setup variables or the event. Made the event only kill itself when it has called, announce(), start() and end(). - Brainrot will only need alkysine as a cure. - Communication blackout will always be silent. - Changed some admin buttons to use the new event system. - Added a forceEvent proc which you can use when you enable debug verbs. git-svn-id: http://tgstation13.googlecode.com/svn/trunk@5525 316c924e-a436-60f5-8080-3fe189b3f50e
65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
/obj/structure/largecrate
|
|
name = "large crate"
|
|
desc = "A hefty wooden crate."
|
|
icon = 'icons/obj/storage.dmi'
|
|
icon_state = "densecrate"
|
|
density = 1
|
|
flags = FPRINT
|
|
|
|
/obj/structure/largecrate/attack_hand(mob/user as mob)
|
|
user << "<span class='notice'>You need a crowbar to pry this open!</span>"
|
|
return
|
|
|
|
/obj/structure/largecrate/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
|
if(istype(W, /obj/item/weapon/crowbar))
|
|
new /obj/item/stack/sheet/wood(src)
|
|
var/turf/T = get_turf(src)
|
|
for(var/obj/O in contents)
|
|
O.loc = T
|
|
user.visible_message("<span class='notice'>[user] pries \the [src] open.</span>", \
|
|
"<span class='notice'>You pry open \the [src].</span>", \
|
|
"<span class='notice'>You hear splitting wood.</span>")
|
|
del(src)
|
|
else
|
|
return attack_hand(user)
|
|
|
|
/obj/structure/largecrate/mule
|
|
icon_state = "mulecrate"
|
|
|
|
/obj/structure/largecrate/lisa
|
|
icon_state = "lisacrate"
|
|
|
|
/obj/structure/largecrate/lisa/attackby(obj/item/weapon/W as obj, mob/user as mob) //ugly but oh well
|
|
if(istype(W, /obj/item/weapon/crowbar))
|
|
new /mob/living/simple_animal/corgi/Lisa(loc)
|
|
..()
|
|
|
|
/obj/structure/largecrate/cow
|
|
name = "cow crate"
|
|
icon_state = "lisacrate"
|
|
|
|
/obj/structure/largecrate/cow/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
|
if(istype(W, /obj/item/weapon/crowbar))
|
|
new /mob/living/simple_animal/cow(loc)
|
|
..()
|
|
|
|
/obj/structure/largecrate/goat
|
|
name = "goat crate"
|
|
icon_state = "lisacrate"
|
|
|
|
/obj/structure/largecrate/goat/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
|
if(istype(W, /obj/item/weapon/crowbar))
|
|
new /mob/living/simple_animal/hostile/retaliate/goat(loc)
|
|
..()
|
|
|
|
/obj/structure/largecrate/chick
|
|
name = "chicken crate"
|
|
icon_state = "lisacrate"
|
|
|
|
/obj/structure/largecrate/chick/attackby(obj/item/weapon/W as obj, mob/user as mob)
|
|
if(istype(W, /obj/item/weapon/crowbar))
|
|
var/num = rand(4,12)
|
|
for(var/i=0,i<num,i++)
|
|
new /mob/living/simple_animal/chick(loc)
|
|
..()
|