mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 13:09:11 +01:00
Update AI_modules.dm (#17309)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
@@ -21,6 +21,19 @@ AI MODULES
|
||||
matter = list(MAT_STEEL = 30, MAT_GLASS = 10)
|
||||
var/datum/ai_laws/laws = null
|
||||
|
||||
/obj/item/aiModule/examine(mob/user)
|
||||
. = ..()
|
||||
if(!laws)
|
||||
return
|
||||
laws.sort_laws()
|
||||
for(var/datum/ai_law/law in laws.sorted_laws)
|
||||
if(law == laws.zeroth_law_borg)
|
||||
continue
|
||||
if(law == laws.zeroth_law)
|
||||
. += span_info(span_red("[law.get_index()]. [law.law]"))
|
||||
else
|
||||
. += span_infoplain("[law.get_index()]. [law.law]")
|
||||
|
||||
/obj/item/aiModule/proc/install(var/atom/movable/AM, var/mob/living/user)
|
||||
if(!user.IsAdvancedToolUser() && isanimal(user))
|
||||
var/mob/living/simple_mob/S = user
|
||||
|
||||
Reference in New Issue
Block a user