-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: WIP on trading. Unpacking assocs as memories.
- Loading branch information
jmalek
committed
Jun 25, 2024
1 parent
c59f1c6
commit 5598df8
Showing
15 changed files
with
577 additions
and
45 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
/* | ||
// Defines the constant-ish keys for use by the Commodity API. | ||
// These are expected to be too heterogenous across AIs to be done as simple bitflags, so we'll do strings vOv. | ||
// Some categories are split by prefix; the intent is to signal you could sum them all up for a more abstract score. | ||
*/ | ||
|
||
|
||
/* Dolla bills */ | ||
|
||
// How much this works as money or a money-equivalent good (e.g. gold bar, letter of credit). | ||
// Useful for pretty much anyone able to trade, though some are more money-oriented than others. | ||
#define COMMODITY_WEALTH "wealth" | ||
|
||
|
||
/* Food */ | ||
|
||
// General-purpose calories | ||
// A concern for anyone with biotic personnel. | ||
#define COMMODITY_FOOD_GENERIC "food_generic" | ||
|
||
|
||
/* Materials */ | ||
|
||
// Raw steel, e.g. for construction | ||
#define COMMODITY_STEEL "steel" | ||
|
||
// Raw glass, e.g. for construction | ||
#define COMMODITY_GLASS "glass" | ||
|
||
|
||
/* Security */ | ||
|
||
// Security is split in two subcategories to let AIs act more aggro or more turtley. | ||
// Defensive focuses on not feeling when someone punches us. | ||
// Offensive focuses on being able to punch harder than any potential threat. | ||
// These are, very deliberately, NOT uncorrelated! | ||
// If you want a total generic Security score, you can add them together. | ||
|
||
// "Strength", in very abstract sense, or "power projection capability". | ||
// Meant for things like buying guns and cannons or hiring goons. | ||
#define COMMODITY_SECURITY_OFFENSIVE "security_offensive" | ||
|
||
// How much we can stop threats from bothering us. | ||
// This can be weaponds, but also fortifications or defensive alliances. | ||
#define COMMODITY_SECURITY_DEFENSIVE "security_defensive" | ||
|
||
|
||
/* Science */ | ||
|
||
// Mainstream STEMy research topics - physics, bio/med, astronomy, whatever. | ||
// Primary concern of vanilla research groups, whether academic or corporate. | ||
// The 'Lawful Good' knowledge. | ||
#define COMMODITY_KNOWLEDGE_SCIENCE "knowledge_science" | ||
|
||
// Science's evil black market twin. Bioterror, designer drugs, unconventional weapons, etc. | ||
// Pursued by straight-up criminals or shadier corporate research groups (spess Umbrella types) | ||
// The 'Chaotic Evil' knowledge. | ||
#define COMMODITY_KNOWLEDGE_MADSCI "knowledge_madscience" | ||
|
||
// Science of 2spoopy. Ghosts, cults, wizards, anomalies, artifacts. | ||
// Concerns occult organisations and those who hunt them. | ||
// To a lesser extent, more fringe scientists may be interested as well. | ||
// The 'Chaotic Neutral' knowledge. | ||
#define COMMODITY_KNOWLEDGE_ANOMALOUS "knowledge_anomalous" | ||
|
||
// What you hire spies for. Someone else's secrets, whether personal, business, or national. | ||
// Obviously, concerns intelligence and counterintelligence operations. | ||
// Less obviously, may be dealt in by criminals as well. | ||
// The 'Neutral Evil' knowledge. | ||
#define COMMODITY_KNOWLEDGE_INTEL "knowledge_intelligence" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"/obj/food": { | ||
"food": 30 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/obj/food | ||
// DEBUG ITEM | ||
name = "food" | ||
icon = 'icons/obj/food.dmi' | ||
icon_state = "mysterysoup" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.