Begin work on rep system. Finished encounter generation for the most part. Needs testing.
This commit is contained in:
parent
42bf2a484a
commit
49f93574af
5 changed files with 185 additions and 37 deletions
|
|
@ -17,6 +17,8 @@ module.exports = { // Lets variables and functions be used in other files
|
|||
name,
|
||||
prewarmoney,
|
||||
caps,
|
||||
locationA,
|
||||
locationB,
|
||||
sleep,
|
||||
userInput,
|
||||
randomNumber,
|
||||
|
|
@ -50,6 +52,24 @@ var isSick = false;
|
|||
var sickPoints = 0; // If you accumulate 50 sick points you lose
|
||||
var sickSeverity = 0; // 3 levls, starting at 1
|
||||
|
||||
/*
|
||||
1 - Villified - Will attack you at all POIs and encounters
|
||||
2 - Hated - Will only attack you in major POIs
|
||||
3 - Disliked - Will not engage in combat and will not allow you to trade
|
||||
4 - Neutral - Can trade
|
||||
5 - Good - Will offer assistance and minor discounts when trading
|
||||
6 - Liked - Better discounts and assistance, faction bonus
|
||||
7 - Idolized - Gives faction bonus and severe discounts when trading, underarmor
|
||||
|
||||
Faction bonuses
|
||||
* MW BOS - X-01 PA
|
||||
* Legion - The Mark of Caesar, show to frumentari in locations to recieve gear
|
||||
* NCR - NCR Emergency 2-Way radio, recieve supply drop when in NCR territory. Useable 3 times
|
||||
* BOS - X-01 upgrade to tesla
|
||||
* Enclave - X-01 upgrade to APA
|
||||
*/
|
||||
var reputation = {mwbos: 4, legion: 4, ncr: 2, bos: 1, enclave: 10, abomination: 0, raider: 0} //Number between 0(worst) and 10(best), 5 is neutral
|
||||
|
||||
//Player inventory
|
||||
//Record all items in the player's inventory as objects with a name, item category, value, and boolean properties. Example below.
|
||||
//{name: "example", category: "testItems", value: 300, use: true, eat: false, drop: true, equip: true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue