Added a config option which forbids the possessing of singularities. This option defaults to allowing the possession of singularities.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2697 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
baloh.matevz
2011-12-16 06:06:16 +00:00
parent a3e938a3af
commit 15918b2e18
3 changed files with 14 additions and 0 deletions
+6
View File
@@ -271,6 +271,12 @@
/proc/possess(obj/O as obj in world)
set name = "Possess Obj"
set category = "Object"
if(istype(O,/obj/machinery/singularity))
if(config.forbid_singulo_possession)
usr << "It is forbidden to possess singularities."
return
usr.loc = O
usr.real_name = O.name
usr.name = O.name