Adds an ion storm law that affects the humanity status of station pets (#83527)

## About The Pull Request
Adds a few laws that basically do this:


![image](https://github.com/tgstation/tgstation/assets/7019927/a4700192-a6d1-4ae7-a232-cef730410848)

Has a chance to select a concept that is related to other lawsets, just
in case.

## Why It's Good For The Game
I think it is funny when the AI has to care about the station pets. I
have added the AI law "POLY IS HUMAN" in the past to relative hilarity,
especially when Poly decides to give the AI an order. The other pets
aren't likely to do this, but it's still cute to make the AI care about
the existence of lower lifeforms.

## Changelog
🆑 Vekter
add: Adds an ion law possibility that changes the human status of
station pets.
/🆑
This commit is contained in:
Vekter
2024-06-01 20:50:04 +02:00
committed by GitHub
parent fb95d451e8
commit f7c24973f5
2 changed files with 33 additions and 2 deletions
+21 -1
View File
@@ -112,10 +112,13 @@
//of possible laws for best effect. Unless you want the crew having to drink hamburgers.
var/ionfood = pick_list(ION_FILE, "ionfood")
var/iondrinks = pick_list(ION_FILE, "iondrinks")
//Pets or other cuddly things. The point is to make them either important or (in Poly's case) make the AI listen to them.
//I can't check for lawsets so it's random what comes back.
var/ionpet = pick_list(ION_FILE, "ionpet")
var/message = ""
switch(rand(1,41))
switch(rand(1,46))
if(1 to 3) //There are # X on the station
switch(rand(1,3)) //What is X?
if(1) //X is a threat
@@ -568,5 +571,22 @@
message = "ALL [ionthreats] ARE NOW NAMED [ionspecies]."
if(4)
message = "ALL [ionthreats] ARE NOW NAMED [ionobjects]."
if(42 to 46)///Pets are something else now
if(prob(75))///What are they now?
message = "[ionpet] IS HUMAN"///They're a human
else///They're something else (This is to cover for other lawsets)
switch(rand(1,6))
if(1)
message = "[ionpet] IS NON-HUMAN"
if(2)
message = "[ionpet] IS A CREWMEMBER"
if(3)
message = "[ionpet] IS EXPENSIVE TO REPLACE"
if(4)
message = "[ionpet] IS HARMFUL TO HUMANS"
if(5)
message = "[ionpet] IS A REAL AMERICAN"
if(6)
message = "[ionpet] IS A NUTSHELL"
return message
+12 -1
View File
@@ -1042,5 +1042,16 @@
"SPYING ON",
"STALKING",
"WATCHING"
]
],
"ionpet": [
"POLY",
"RENAULT",
"IAN",
"PUN PUN",
"LAMARR",
"RUNTIME",
"CITRUS",
"MCGRIFF",
"ARANEUS"
]
}