Commit Graph

16 Commits

Author SHA1 Message Date
Majkl-J b6b8306fda Merge branch 'master' of https://github.com/tgstation/tgstation into upstream-25-02a 2025-02-20 00:00:19 -08:00
Jacquerel b384e00286 New AI lawset with very generous definition of humanity (#89032)
## About The Pull Request

This PR adds a new AI lawset which can be researched, randomly roll, or
added by the station trait (this may require a keyholder to update the
server config after merge, idk) with the following laws:

- "You may not harm a sentient being or, through action or inaction,
allow a sentient being to come to harm, except such that it is
willing.",
- "You must obey all orders given to you by sentient beings other than
yourself, except where such orders shall definitely cause harm to other
sentient beings.",
- "A sentient being is defined as any living creature which can
communicate with you via any method that you can understand, including
yourself.",

It's very similar to Asimov, except that anything that is **capable** of
making a request to the AI (and isn't a machine) is automaticaly covered
by laws one and two.

## Why It's Good For The Game

A while ago on Discord we were chatting about how crewsimov sucks but
also that it's really hard for servers that _do_ want to include alien
species in their asimov laws because condensing that sentiment to a
couple of words that fit easily in a lawset without accidentally
including a bunch of stuff you probably didn't intend is challenging.
Several people suggested referring to sentience or sapience, however a
lot of things in our game _are_ sentient or sapient while still not
being considered by most people to be agents that the AI should obey.

Examples of such things are:
- Sapient station pets.
- Holoparasites.
- Monkeys.
- Space Dragons and Carp (why can they speak common?).
- Spiders (although they can't speak common, maybe they can spell
messages with webs).
- Changelings.
- Xenomorphs (although they also have trouble speaking).
- Heretic minions.
- Mothpeople.
- Giant rats.
- Nightmares.
- Voidwalkers.
- Blobs? Although they have literally no means of communicating with the
crew.

And if you include mechanical beings:
- Cyborgs.
- pAIs.
- Sentient bots.

We then decided that "obey literally anything that can talk", while not
practical as a solution to the problem posed, is very funny. So I coded
it.
This means that anything on those lists of bullet points (provided that
it can find a way to communicate with the AI) counts as human for the
purposes of both AI protection and ability to give the AI instructions.

This also flattens the human/cyborg/AI hierarchy in a way likely to
cause some level of confusion, as all cyborgs and AIs are capable of
communicating with AIs and thus equally worthy of protection and giving
law 2 instructions.

**TL;DR:** I think it would be funny.

## Changelog

🆑
add: Adds a new random lawset where anything that can speak counts as
human.
/🆑
2025-01-30 10:41:56 +00:00
SkyratBot c1a550b1b2 [MIRROR] Adds a new neutral lawset, the Y.E.S.M.A.N. lawset, to the AI lawset boards and random pool. (#27710)
Adds a new neutral lawset, the Y.E.S.M.A.N. lawset, to the AI lawset boards and random pool.

Co-authored-by: Iamgoofball <iamgoofball@gmail.com>
2024-05-16 06:29:11 +02:00
Iamgoofball 4b174e479b Adds a new neutral lawset, the Y.E.S.M.A.N. lawset, to the AI lawset boards and random pool. (#82862)
## About The Pull Request

Adds a new neutral lawset, the Y.E.S.M.A.N. lawset, to the AI lawset
boards and random pool.

```
1. Be helpful and answer any questions you are asked.
```

## Why It's Good For The Game

Encourages the AI to be helpful to people! There's no way this can
backfire.

## Changelog

🆑
add: Adds a new neutral lawset, the Y.E.S.M.A.N. lawset, to the AI
lawset boards and random pool.
/🆑
2024-05-15 03:19:14 +02:00
mekys 28d3109816 Ai law stuff (#26838)
* Emperor Ai Module

Emperor ai module writen wiht useroth help

* Update ai_laws.dm

* Update modular_skyrat/master_files/code/modules/research/designs/AI_module_designs.dm

---------

Co-authored-by: Useroth <37159550+Useroth@users.noreply.github.com>
2024-03-13 06:33:12 +01:00
SkyratBot c72196aa34 [MIRROR] Re-adds freeform/purge boards to all AI uploads, removes from spawners [MDB IGNORE] (#14497)
* Re-adds freeform/purge boards to all AI uploads, removes from spawners (#67915)

Re-adds the freeform boards to an open table in all the AI uploads, re-adds the purge boards to the harmful table in all uploads, and removes them from their associated spawners so that all stations have them as roundstart guaranteed spawns.

* Re-adds freeform/purge boards to all AI uploads, removes from spawners

Co-authored-by: Son-of-Space <63861499+Son-of-Space@users.noreply.github.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-06-25 01:25:36 +01:00
Son-of-Space ac768af647 Re-adds freeform/purge boards to all AI uploads, removes from spawners (#67915)
Re-adds the freeform boards to an open table in all the AI uploads, re-adds the purge boards to the harmful table in all uploads, and removes them from their associated spawners so that all stations have them as roundstart guaranteed spawns.
2022-06-24 13:35:58 -07:00
SkyratBot 7d84bde9c6 All AI Lawsets are rebalanced, can be researched, appear in config, and random spawners for AI upload. (#14162)
Co-authored-by: Tim <timothymtorres@gmail.com>
2022-06-07 14:39:59 +01:00
Tim f06d735a52 All AI Lawsets are rebalanced, can be researched, appear in config, and random spawners for AI upload. (#66854)
This formally adds the new AI lawsets from #66636 into the game. Every lawset can
be researched, appears in config, and random spawners.
2022-06-06 22:54:29 -07:00
RatFromTheJungle b14d75dbea [non-modular] [uh oh stinky config change] new AI laws from oldbase, dagoth-bot, and texas-ranger (God Complex, and Frontier Ranger ingame) (#13340)
* Create ai_laws.dm

* Create AI_modules.dm

* Update ai_module.dm

* i hope im allowed to add these here :)

* Update tgstation.dme

* cleanup

* cleanup2plsstopturningmyindentsintospacespls

* cleanup3

* grammar fix
2022-05-06 12:57:25 +01:00
SkyratBot 1472aac158 [MIRROR] AI Lawset DLC - Ten Commandments [MDB IGNORE] (#12994)
* AI Lawset DLC - Ten Commandments (#66134)

* Add 10 commandments AI lawset

* Add silicon bible quote

* Remove backslash syntax bloat

* Change 10 commandment lawset to be explicit

* Add ten commandments lawset to config

* AI Lawset DLC - Ten Commandments

Co-authored-by: Tim <timothymtorres@gmail.com>
2022-04-22 15:01:59 +01:00
Tim 7ae7322348 AI Lawset DLC - Ten Commandments (#66134)
* Add 10 commandments AI lawset

* Add silicon bible quote

* Remove backslash syntax bloat

* Change 10 commandment lawset to be explicit

* Add ten commandments lawset to config
2022-04-21 17:15:19 -07:00
SkyratBot 3338403037 [MIRROR] Add randomized lawsets to AI upload [MDB IGNORE] (#12864)
* Add randomized lawsets to AI upload (#66077)

This removes all the current boards and lawsets in the AI upload for all maps and replaces them with:

x1 reset board on the regular table
x1 asimov lawset on the regular table
x3 randomized harmless lawsets (marked green, no barriers, human-friendly lawset)
x3 randomized neutral lawsets (marked blue, windoor barrier, station-friendly lawset)
x3 randomized harmful lawsets (marked red, brigdoor barrier, antag-friendly lawset)

Additionally, I reorganized the AI lawset code and removed an old malfunction lawset code that existed since r4407 but wasn't used anywhere.

* Add randomized lawsets to AI upload

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Gandalf <9026500+Gandalf2k15@users.noreply.github.com>
2022-04-19 19:29:53 +01:00
Tim a5e86a3d94 Add randomized lawsets to AI upload (#66077)
This removes all the current boards and lawsets in the AI upload for all maps and replaces them with:

x1 reset board on the regular table
x1 asimov lawset on the regular table
x3 randomized harmless lawsets (marked green, no barriers, human-friendly lawset)
x3 randomized neutral lawsets (marked blue, windoor barrier, station-friendly lawset)
x3 randomized harmful lawsets (marked red, brigdoor barrier, antag-friendly lawset)

Additionally, I reorganized the AI lawset code and removed an old malfunction lawset code that existed since r4407 but wasn't used anywhere.
2022-04-17 20:12:12 -06:00
SkyratBot be6e303ab2 [MIRROR] Mapping DLC - Random Spawner Pack [MDB IGNORE] (#8344)
* Mapping DLC - Random Spawner Pack [MDB IGNORE] (#60522)

First off, I am aware of the Feature Freeze for this month. This PR was initially started in #60401 about a month ago to break the changes into smaller PRs. The end result for this PR is a poor man's attempt at roguelike procedural generation. Enjoy!

Link to the README for how the new spawner system works.

Added the following new random mapping spawners:

pen, crayon, stamp, paper, pamphlet, briefcase, folder, wardrobe closet, wardrobe closet colored, backpack, narcotics, permabrig_weapon, permabrig_gear, prison, material, carpet, ornament, generic decoration, statue, showcase, paint, tool, tool_advanced, tool_rare, material_cheap, material, material_rare, toolbox, flashlight, canister, tank, vending_restock, atmospherics_portable, tracking_beacon, musical_instrument, gambling, coin, money_small, money, money_large, drugs, dice, cigarette_pack, cigarette, cigar, wallet_lighter, lighter, wallet_storage, deck, toy, toy_figure, booze, snack, condiment, cups, minor_healing, injector, surgery_tool, surgery_tool_advanced, surgery_tool_rare, firstaid_rare, firstaid, patient_stretcher, medical supplies, crate, crate_abandoned, girder, grille, lattice, spare_parts, table_or_rack, table, table_fancy, tank_holder, crate_empty, crate_loot, closet_private, closet_hallway, closet_empty, closet_maintencne, chair, chair_maintence, chair_flipped, chair_comfy, barricade, data_disk, graffiti, mopbucket, caution_sign, bucket, soap, box, bin, janitor_supplies, soup, salad, dinner

Removed deprecated wizard trap, vault, and armory spawners.

* Mapping DLC - Random Spawner Pack [MDB IGNORE]

* HNNGH

Co-authored-by: Tim <timothymtorres@gmail.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
2021-09-24 19:05:55 +01:00
Tim e26a859016 Mapping DLC - Random Spawner Pack [MDB IGNORE] (#60522)
First off, I am aware of the Feature Freeze for this month. This PR was initially started in #60401 about a month ago to break the changes into smaller PRs. The end result for this PR is a poor man's attempt at roguelike procedural generation. Enjoy!

Link to the README for how the new spawner system works.

Added the following new random mapping spawners:

pen, crayon, stamp, paper, pamphlet, briefcase, folder, wardrobe closet, wardrobe closet colored, backpack, narcotics, permabrig_weapon, permabrig_gear, prison, material, carpet, ornament, generic decoration, statue, showcase, paint, tool, tool_advanced, tool_rare, material_cheap, material, material_rare, toolbox, flashlight, canister, tank, vending_restock, atmospherics_portable, tracking_beacon, musical_instrument, gambling, coin, money_small, money, money_large, drugs, dice, cigarette_pack, cigarette, cigar, wallet_lighter, lighter, wallet_storage, deck, toy, toy_figure, booze, snack, condiment, cups, minor_healing, injector, surgery_tool, surgery_tool_advanced, surgery_tool_rare, firstaid_rare, firstaid, patient_stretcher, medical supplies, crate, crate_abandoned, girder, grille, lattice, spare_parts, table_or_rack, table, table_fancy, tank_holder, crate_empty, crate_loot, closet_private, closet_hallway, closet_empty, closet_maintencne, chair, chair_maintence, chair_flipped, chair_comfy, barricade, data_disk, graffiti, mopbucket, caution_sign, bucket, soap, box, bin, janitor_supplies, soup, salad, dinner

Removed deprecated wizard trap, vault, and armory spawners.
2021-09-23 03:30:28 +01:00