-
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: Actual faction-to-faction trading!
fix: Less silly pricing feature: Deferred pawn init for AIs (used to customize faction spawns for ^^^) feature: Lookup-based needs (currently money) Current setup is one hungry miner faction selling ore and buying food to a manufacturer. Prices swing wildly, but are not *totally* nuts. Factions don't produce anything yet.
- Loading branch information
jmalek
committed
Aug 26, 2024
1 parent
1cca2d7
commit 23fe422
Showing
22 changed files
with
344 additions
and
65 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
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
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 |
---|---|---|
|
@@ -4,5 +4,11 @@ | |
}, | ||
"/obj/decor": { | ||
"prestige": 2 | ||
}, | ||
"/obj/ore": { | ||
"ore": 5 | ||
}, | ||
"/obj/steel_bar": { | ||
"steel": 1 | ||
} | ||
} |
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,39 @@ | ||
{ | ||
"name": "FreeTrade", | ||
"tags": [ | ||
"FreeTrade" | ||
], | ||
"relationships": { | ||
"ORMA": 50 | ||
}, | ||
"actionset_files": [ | ||
"faction_base.json", | ||
"faction_trade_test.json" | ||
], | ||
"needs": { | ||
"food_generic": 100, | ||
"wealth": 4000, | ||
"prestige": 50, | ||
"ore": 5, | ||
"steel": 80 | ||
}, | ||
"need_weights": { | ||
"food_generic": 4, | ||
"wealth": 3, | ||
"prestige": 1, | ||
"ore": 2, | ||
"steel": 2 | ||
}, | ||
"preferred_trades": { | ||
"food_generic": "/obj/food", | ||
"prestige": "/obj/decor", | ||
"ore": "/obj/ore", | ||
"steel": "/obj/steel_bar" | ||
}, | ||
"assets": { | ||
"wealth": 4000, | ||
"/obj/food": 80, | ||
"/obj/ore": 5, | ||
"/obj/steel_bar": 80 | ||
} | ||
} |
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,39 @@ | ||
{ | ||
"name": "ORMA", | ||
"tags": [ | ||
"ORMA" | ||
], | ||
"relationships": { | ||
"FreeTrade": 50 | ||
}, | ||
"actionset_files": [ | ||
"faction_base.json", | ||
"faction_trade_test.json" | ||
], | ||
"needs": { | ||
"food_generic": 50, | ||
"wealth": 1000, | ||
"prestige": 50, | ||
"ore": 80, | ||
"steel": 50 | ||
}, | ||
"need_weights": { | ||
"food_generic": 4, | ||
"wealth": 3, | ||
"prestige": 1, | ||
"ore": 1, | ||
"steel": 2 | ||
}, | ||
"preferred_trades": { | ||
"food_generic": "/obj/food", | ||
"prestige": "/obj/decor", | ||
"ore": "/obj/ore", | ||
"steel": "/obj/steel_bar" | ||
}, | ||
"assets": { | ||
"wealth": 1000, | ||
"/obj/food": 10, | ||
"/obj/ore": 800, | ||
"/obj/steel_bar": 80 | ||
} | ||
} |
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
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
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.