mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-20 18:47:20 +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:
co-authored by
Henri215
Luc
Nathan Winters
parent
41a250c4a3
commit
bdb8039c8f
@@ -1,37 +1,3 @@
|
||||
/*/datum/reagent/silicate
|
||||
name = "Silicate"
|
||||
id = "silicate"
|
||||
description = "A compound that can be used to reinforce glass."
|
||||
reagent_state = LIQUID
|
||||
color = "#C7FFFF" // rgb: 199, 255, 255
|
||||
|
||||
/datum/reagent/silicate/reaction_obj(obj/O, volume)
|
||||
if(istype(O, /obj/structure/window))
|
||||
if(O:silicate <= 200)
|
||||
|
||||
O:silicate += volume
|
||||
O:health += volume * 3
|
||||
|
||||
if(!O:silicateIcon)
|
||||
var/icon/I = icon(O.icon,O.icon_state,O.dir)
|
||||
|
||||
var/r = (volume / 100) + 1
|
||||
var/g = (volume / 70) + 1
|
||||
var/b = (volume / 50) + 1
|
||||
I.SetIntensity(r,g,b)
|
||||
O.icon = I
|
||||
O:silicateIcon = I
|
||||
else
|
||||
var/icon/I = O:silicateIcon
|
||||
|
||||
var/r = (volume / 100) + 1
|
||||
var/g = (volume / 70) + 1
|
||||
var/b = (volume / 50) + 1
|
||||
I.SetIntensity(r,g,b)
|
||||
O.icon = I
|
||||
O:silicateIcon = I */
|
||||
|
||||
|
||||
/datum/reagent/oxygen
|
||||
name = "Oxygen"
|
||||
id = "oxygen"
|
||||
|
||||
Reference in New Issue
Block a user