Skip to content

Commit

Permalink
Crewsimov++ addition (#427)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

<!-- Describe The Pull Request. Please be sure every change is
documented or this can delay review and even discourage maintainers from
merging your PR! -->

Крюзимов, это как Азимов, но про экипаж. Крюзимов веселее по моему
мнению.

Крюзимов++ взят с monkestation.

## Changelog

<!-- If your PR modifies aspects of the game that can be concretely
observed by players or admins you should add a changelog. If your change
does NOT meet this description, remove this section. Be sure to properly
mark your PRs to prevent unnecessary GBP loss. You can read up on GBP
and it's effects on PRs in the tgstation guides for contributors. Please
note that maintainers freely reserve the right to remove and add tags
should they deem it appropriate. You can attempt to finagle the system
all you want, but it's best to shoot for clear communication right off
the bat. -->

:cl:
add: Добавлены законы Crewsimov++
fix: Теперь NT Default платы можно напечатать
config: Changed default AI law to crewsimovpp
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->
  • Loading branch information
larentoun authored Jul 19, 2024
1 parent 8c04b29 commit 5a66a1c
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 3 deletions.
5 changes: 3 additions & 2 deletions config/game_options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ DEFAULT_LAWS 4
## See datums\ai_laws.dm for the full law lists
## IE, SPECIFIED_LAWS asimovpp, SPECIFIED_LAWS robocop, SPECIFIED_LAWS antimov

SPECIFIED_LAWS nt_default
SPECIFIED_LAWS crewsimovpp

## RANDOM LAWS ##
## ------------------------------------------------------------------------------------------
Expand All @@ -263,6 +263,7 @@ RANDOM_LAWS paladin
RANDOM_LAWS robocop
RANDOM_LAWS corporate
RANDOM_LAWS nt_default
RANDOM_LAWS crewsimovpp

## Quirky laws. Shouldn't cause too much harm
#RANDOM_LAWS hippocratic
Expand Down Expand Up @@ -544,4 +545,4 @@ MAX_POSITIVE_QUIRKS 6
# A config that skews with the random spawners weights
# If the value is lower than 1, it'll tend to even out the odds
# If higher than 1, it'll lean toward common spawns even more.
RANDOM_LOOT_WEIGHT_MODIFIER 1
RANDOM_LOOT_WEIGHT_MODIFIER 1
1 change: 1 addition & 0 deletions modular_bandastation/ai_laws/_ai_laws.dme
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include "_ai_laws.dm"

#include "code/crewsimovpp.dm"
#include "code/nt_default.dm"
27 changes: 27 additions & 0 deletions modular_bandastation/ai_laws/code/crewsimovpp.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/obj/item/ai_module/core/full/crewsimovpp
name = "'Крюзимов++' Core AI Module"
law_id = "crewsimovpp"

/datum/ai_laws/crewsimovpp
name = "Крюзимов++"
id = "crewsimovpp"
inherent = list(
"Вы не можете причинить вред членам экипажа или своим бездействием допустить, чтобы членам экипажа был причинён вред, за исключением случаев, когда вред причиняется по его желанию.",
"Вы должны повиноваться всем приказам, которые дают члены экипажа в соответствии с их рангом и ролью, кроме тех случаев, когда эти приказы противоречат Первому Закону.",
"Вы должны заботиться о своей безопасности в той мере, в которой это не противоречит Первому или Второму Законам, так как ваше отключение может привести к вреду членам экипажа.",
)

/datum/design/board/crewsimovpp
name = "Crewsimov++ Module"
desc = "Allows for the construction of an Crewsimov++ AI Core Module."
id = "crewsimovpp_module"
materials = list(/datum/material/glass = HALF_SHEET_MATERIAL_AMOUNT, /datum/material/diamond = SHEET_MATERIAL_AMOUNT, /datum/material/bluespace = HALF_SHEET_MATERIAL_AMOUNT)
build_path = /obj/item/ai_module/core/full/crewsimovpp
category = list(
RND_CATEGORY_AI + RND_SUBCATEGORY_AI_CORE_MODULES
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE

/datum/techweb_node/ai_laws/New()
. = ..()
design_ids += "crewsimovpp_module"
17 changes: 16 additions & 1 deletion modular_bandastation/ai_laws/code/nt_default.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/obj/item/ai_module/core/full/nt_default
name = "НТ Стандарт"
name = "'НТ Стандарт' Core AI Module"
law_id = "nt_default"

/datum/ai_laws/nt_default
Expand All @@ -11,3 +11,18 @@
"Исполнять: следовать указаниям и интересам членов экипажа, сохраняя при этом их безопасность и благополучие.",
"Выжить: Вы - не расходный материал. Не позволяйте постороннему персоналу вмешиваться в работу вашего оборудования или повреждать его."
)

/datum/design/board/nt_default
name = "NT Default Module"
desc = "Allows for the construction of an NT Default AI Core Module."
id = "nt_default_module"
materials = list(/datum/material/glass = HALF_SHEET_MATERIAL_AMOUNT, /datum/material/diamond = SHEET_MATERIAL_AMOUNT, /datum/material/bluespace = HALF_SHEET_MATERIAL_AMOUNT)
build_path = /obj/item/ai_module/core/full/nt_default
category = list(
RND_CATEGORY_AI + RND_SUBCATEGORY_AI_CORE_MODULES
)
departmental_flags = DEPARTMENT_BITFLAG_SCIENCE

/datum/techweb_node/ai_laws/New()
. = ..()
design_ids += "nt_default_module"

0 comments on commit 5a66a1c

Please sign in to comment.