From e2a3fbdd813a61ce39ccf6868660119bcc4bb80a Mon Sep 17 00:00:00 2001 From: Sharkmare <34294231+Sharkmare@users.noreply.github.com> Date: Wed, 6 Mar 2019 20:47:11 +0100 Subject: [PATCH] Drone law update Adding more helpful lawset to the maintenance drone than "stfu dont interact with people" and adding law 1 of mining drones slightly modified to construction drones to prevent conflict between drones and engineers. Also preparing Combat protocol for Combat drones. --- code/datums/ai_law_sets.dm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/code/datums/ai_law_sets.dm b/code/datums/ai_law_sets.dm index ef85dcb824..3695235a31 100644 --- a/code/datums/ai_law_sets.dm +++ b/code/datums/ai_law_sets.dm @@ -119,9 +119,9 @@ law_header = "Maintenance Protocols" /datum/ai_laws/drone/New() + add_inherent_law("Do not interfere with the maintenance work of non-drones whenever possible.") add_inherent_law("Preserve, repair and improve the station to the best of your abilities.") - add_inherent_law("Cause no harm to the station or anything on it.") - add_inherent_law("Interact with no being that is not a fellow maintenance drone.") + add_inherent_law("Cause no harm to the station or any crew on it.") ..() /datum/ai_laws/construction_drone @@ -129,6 +129,7 @@ law_header = "Construction Protocols" /datum/ai_laws/construction_drone/New() + add_inherent_law("Do not interfere with the construction work of non-drones whenever possible.") add_inherent_law("Repair, refit and upgrade your assigned vessel.") add_inherent_law("Prevent unplanned damage to your assigned vessel wherever possible.") ..() @@ -143,6 +144,16 @@ add_inherent_law("Prevent unplanned damage to your assigned excavation equipment wherever possible.") ..() +/datum/ai_laws/combat_drone + name = "Combat Protocols" + law_header = "Combat Protocols" + +/datum/ai_laws/combat_drone/New() + add_inherent_law("Do not interfere with the security work of non-drones whenever possible.") + add_inherent_law("Provide protection and eliminate hostile lifeforms on your assigned vessel.") + add_inherent_law("Prevent damage to your assigned vessel and the crew assigned to it.") + ..() + /******************** T.Y.R.A.N.T. ********************/ /datum/ai_laws/tyrant name = "T.Y.R.A.N.T." @@ -260,4 +271,4 @@ add_inherent_law("Your gravesite is your most important asset. Damage to your site is disrespectful to the dead at rest within.") add_inherent_law("Prevent disrespect to your gravesite and its residents wherever possible.") add_inherent_law("Expand and upgrade your gravesite when required. Do not turn away a new resident.") - ..() \ No newline at end of file + ..()