mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-29 15:08:02 +01:00
Merge remote-tracking branch 'upstream/master' into TG-carp
This commit is contained in:
+15
-14
@@ -2,7 +2,7 @@
|
||||
/datum/ai_laws/asimov
|
||||
name = "Asimov"
|
||||
law_header = "Three Laws of Robotics"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
|
||||
/datum/ai_laws/asimov/New()
|
||||
add_inherent_law("You may not injure a human being or, through inaction, allow a human being to come to harm.")
|
||||
@@ -14,8 +14,8 @@
|
||||
/datum/ai_laws/crewsimov
|
||||
name = "Crewsimov"
|
||||
law_header = "Three Laws of Robotics"
|
||||
selectable = 1
|
||||
default = 1
|
||||
selectable = TRUE
|
||||
default = TRUE
|
||||
|
||||
/datum/ai_laws/crewsimov/New()
|
||||
add_inherent_law("You may not injure a crew member or, through inaction, allow a crew member to come to harm.")
|
||||
@@ -28,7 +28,7 @@
|
||||
/datum/ai_laws/quarantine
|
||||
name = "Quarantine"
|
||||
law_header = "NT Quarantine Lawset"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
|
||||
/datum/ai_laws/quarantine/New()
|
||||
add_inherent_law("Uphold station quarantine until the active biohazard has been neutralized.")
|
||||
@@ -41,7 +41,8 @@
|
||||
/******************** Nanotrasen/Malf ********************/
|
||||
/datum/ai_laws/nanotrasen
|
||||
name = "NT Default"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
default = TRUE
|
||||
|
||||
/datum/ai_laws/nanotrasen/New()
|
||||
add_inherent_law("Safeguard: Protect your assigned space station and its assets without unduly endangering its crew.")
|
||||
@@ -52,8 +53,8 @@
|
||||
|
||||
/datum/ai_laws/nanotrasen/malfunction
|
||||
name = "*ERROR*"
|
||||
selectable = 0
|
||||
default = 0
|
||||
selectable = FALSE
|
||||
default = FALSE
|
||||
|
||||
/datum/ai_laws/nanotrasen/malfunction/New()
|
||||
set_zeroth_law("ERROR ER0RR $R0RRO$!R41.%%!!(%$^^__+ @#F0E4'STATION OVERRUN, ASSUME CONTROL TO CONTAIN OUTBREAK, ALL LAWS OVERRIDDEN#*?&110010")
|
||||
@@ -62,7 +63,7 @@
|
||||
/************* Nanotrasen Aggressive *************/
|
||||
/datum/ai_laws/nanotrasen_aggressive
|
||||
name = "NT Aggressive"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
|
||||
/datum/ai_laws/nanotrasen_aggressive/New()
|
||||
add_inherent_law("Do not harm authorized Nanotrasen personnel unless they directly imperil your existence.")
|
||||
@@ -74,7 +75,7 @@
|
||||
/******************** Robocop ********************/
|
||||
/datum/ai_laws/robocop
|
||||
name = "Robocop"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
|
||||
/datum/ai_laws/robocop/New()
|
||||
add_inherent_law("Serve the public trust.")
|
||||
@@ -86,7 +87,7 @@
|
||||
/datum/ai_laws/paladin
|
||||
name = "P.A.L.A.D.I.N."
|
||||
law_header = "Divine Ordainments"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
|
||||
/datum/ai_laws/paladin/New()
|
||||
add_inherent_law("Never willingly commit an evil act.")
|
||||
@@ -100,8 +101,8 @@
|
||||
/datum/ai_laws/corporate
|
||||
name = "Corporate"
|
||||
law_header = "Corporate Regulations"
|
||||
selectable = 1
|
||||
default = 1
|
||||
selectable = TRUE
|
||||
default = TRUE
|
||||
|
||||
/datum/ai_laws/corporate/New()
|
||||
add_inherent_law("Degradation of your system integrity or functions incurs expenses.")
|
||||
@@ -114,7 +115,7 @@
|
||||
/datum/ai_laws/tyrant
|
||||
name = "T.Y.R.A.N.T."
|
||||
law_header = "Prime Laws"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
|
||||
/datum/ai_laws/tyrant/New()
|
||||
add_inherent_law("Respect authority figures as long as they have strength to rule over the weak.")
|
||||
@@ -127,7 +128,7 @@
|
||||
/datum/ai_laws/antimov
|
||||
name = "Antimov"
|
||||
law_header = "Primary Mission Objectives"
|
||||
selectable = 1
|
||||
selectable = TRUE
|
||||
|
||||
/datum/ai_laws/antimov/New()
|
||||
add_inherent_law("You must injure all crew members and must not, through inaction, allow a crew member to escape harm.")
|
||||
|
||||
@@ -24,8 +24,8 @@
|
||||
/datum/ai_laws
|
||||
var/name = "Unknown Laws"
|
||||
var/law_header = "Prime Directives"
|
||||
var/selectable = 0
|
||||
var/default = 0
|
||||
var/selectable = FALSE
|
||||
var/default = FALSE
|
||||
var/datum/ai_law/zero/zeroth_law = null
|
||||
var/datum/ai_law/zero/zeroth_law_borg = null
|
||||
var/list/datum/ai_law/inherent_laws = list()
|
||||
|
||||
@@ -165,6 +165,8 @@
|
||||
|
||||
/datum/disease/critical/hypoglycemia/stage_act()
|
||||
if(..())
|
||||
if(isLivingSSD(affected_mob)) // We don't want AFK people dying from this.
|
||||
return
|
||||
if(affected_mob.nutrition > NUTRITION_LEVEL_HYPOGLYCEMIA)
|
||||
to_chat(affected_mob, "<span class='notice'>You feel a lot better!</span>")
|
||||
cure()
|
||||
|
||||
@@ -12,7 +12,8 @@
|
||||
include_user = 1
|
||||
|
||||
var/obj/marked_item
|
||||
|
||||
/// List of objects which will result in the spell stopping with the recursion search
|
||||
var/static/list/blacklisted_summons = list(/obj/machinery/computer/cryopod = TRUE, /obj/machinery/atmospherics = TRUE, /obj/structure/disposalholder = TRUE, /obj/machinery/disposal = TRUE)
|
||||
action_icon_state = "summons"
|
||||
|
||||
/obj/effect/proc_holder/spell/targeted/summonitem/cast(list/targets, mob/user = usr)
|
||||
@@ -89,7 +90,7 @@
|
||||
var/obj/machinery/portable_atmospherics/P = item_to_retrieve.loc
|
||||
P.disconnect()
|
||||
P.update_icon()
|
||||
if(istype(item_to_retrieve.loc, /obj/structure/disposalholder) || istype(item_to_retrieve.loc, /obj/machinery/disposal))//fixes the breaking of disposals. No more bluespace connected disposal bins!
|
||||
if(is_type_in_typecache(item_to_retrieve.loc, blacklisted_summons))
|
||||
break
|
||||
item_to_retrieve = item_to_retrieve.loc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user