mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 07:33:34 +01:00
Adds gorillas and cargorillas (#20830)
* goril * goril2 * arms * goril3 * goril4 * rampaging * emote * trait * more gorilla * ooga * Magillitis Serum Autoinjector, crates * return to monke * remove unused trait * oops * sirryan * earth * Update code/modules/mob/living/simple_animal/hostile/gorilla/gorilla.dm Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> * Update code/modules/reagents/chemistry/reagents/misc_reagents.dm Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> * fixes and stuff * gorilla text clarification * tweak probs, stop if dead * volume * gorilla sleeping attack * Apply suggestions from code review Co-authored-by: Nathan Winters <100448493+CinnamonSnowball@users.noreply.github.com> --------- Co-authored-by: Henri215 <77684085+Henri215@users.noreply.github.com> Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com> Co-authored-by: Nathan Winters <100448493+CinnamonSnowball@users.noreply.github.com>
This commit is contained in:
@@ -440,64 +440,6 @@
|
||||
open_sound = 'sound/effects/bin_open.ogg'
|
||||
close_sound = 'sound/effects/bin_close.ogg'
|
||||
|
||||
/obj/structure/closet/crate/large
|
||||
name = "large crate"
|
||||
desc = "A hefty metal crate."
|
||||
icon_state = "largemetal"
|
||||
icon_opened = "largemetal_open"
|
||||
icon_closed = "largemetal"
|
||||
integrity_failure = 0 //Makes the crate break when integrity reaches 0, instead of opening and becoming an invisible sprite.
|
||||
|
||||
/obj/structure/closet/crate/large/close()
|
||||
. = ..()
|
||||
if(.)//we can hold up to one large item
|
||||
var/found = 0
|
||||
for(var/obj/structure/S in loc)
|
||||
if(S == src)
|
||||
continue
|
||||
if(!S.anchored)
|
||||
found = 1
|
||||
S.forceMove(src)
|
||||
break
|
||||
if(!found)
|
||||
for(var/obj/machinery/M in loc)
|
||||
if(!M.anchored)
|
||||
M.forceMove(src)
|
||||
break
|
||||
|
||||
/obj/structure/closet/crate/secure/large
|
||||
name = "large crate"
|
||||
desc = "A hefty metal crate with an electronic locking system."
|
||||
icon_state = "largemetal"
|
||||
icon_opened = "largemetal_open"
|
||||
icon_closed = "largemetal"
|
||||
redlight = "largemetalr"
|
||||
greenlight = "largemetalg"
|
||||
|
||||
/obj/structure/closet/crate/secure/large/close()
|
||||
. = ..()
|
||||
if(.)//we can hold up to one large item
|
||||
var/found = 0
|
||||
for(var/obj/structure/S in loc)
|
||||
if(S == src)
|
||||
continue
|
||||
if(!S.anchored)
|
||||
found = 1
|
||||
S.forceMove(src)
|
||||
break
|
||||
if(!found)
|
||||
for(var/obj/machinery/M in loc)
|
||||
if(!M.anchored)
|
||||
M.forceMove(src)
|
||||
break
|
||||
|
||||
//fluff variant
|
||||
/obj/structure/closet/crate/secure/large/reinforced
|
||||
desc = "A hefty, reinforced metal crate with an electronic locking system."
|
||||
icon_state = "largermetal"
|
||||
icon_opened = "largermetal_open"
|
||||
icon_closed = "largermetal"
|
||||
|
||||
/obj/structure/closet/crate/hydroponics
|
||||
name = "hydroponics crate"
|
||||
desc = "All you need to destroy those pesky weeds and pests."
|
||||
|
||||
@@ -116,3 +116,11 @@
|
||||
/obj/structure/closet/critter/bunny
|
||||
name = "bunny crate"
|
||||
content_mob = /mob/living/simple_animal/bunny
|
||||
|
||||
/obj/structure/closet/critter/gorilla
|
||||
name = "gorilla crate"
|
||||
content_mob = /mob/living/simple_animal/hostile/gorilla
|
||||
|
||||
/obj/structure/closet/critter/gorilla/cargo
|
||||
name = "cargorilla crate"
|
||||
content_mob = /mob/living/simple_animal/hostile/gorilla/cargo_domestic
|
||||
|
||||
Reference in New Issue
Block a user