mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
Fixes Xenomorphs being able to build resin structures in space (#19028)
* Fixes Xenomorphs being able to build resin structures on turfless tiles * powerc my beloathed * When the return is indented!
This commit is contained in:
@@ -118,10 +118,11 @@ Doesn't work on other aliens/AI.*/
|
||||
set desc = "Secrete tough malleable resin."
|
||||
set category = "Alien"
|
||||
|
||||
if(powerc(55))
|
||||
if(powerc(55, TRUE))
|
||||
var/choice = input("Choose what you wish to shape.","Resin building") as null|anything in list("resin wall","resin membrane","resin nest") //would do it through typesof but then the player choice would have the type path and we don't want the internal workings to be exposed ICly - Urist
|
||||
|
||||
if(!choice || !powerc(55)) return
|
||||
if(!choice || !powerc(55, TRUE))
|
||||
return
|
||||
var/obj/structure/alien/resin/T = locate() in get_turf(src)
|
||||
if(T)
|
||||
to_chat(src, "<span class='danger'>There is already a resin construction here.</span>")
|
||||
|
||||
Reference in New Issue
Block a user