Skip to content

Commit

Permalink
RELEASE - 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Freiling87 committed Jul 1, 2023
1 parent 12ab167 commit 221be0b
Show file tree
Hide file tree
Showing 15 changed files with 158 additions and 86 deletions.
6 changes: 3 additions & 3 deletions CCU/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ public class Core : BaseUnityPlugin
{
public const string pluginGUID = "Freiling87.streetsofrogue.CCU";
public const string pluginName = "CCU " + (designerEdition ? "[D]" : "[P]");
public const string pluginVersion = "1.1.1";
public const string subVersion = "b";
public const string pluginVersion = "1.2.0";
public const string subVersion = "";

public const bool designerEdition = true;
public const bool debugMode = true;
public const bool debugMode = false;

public static readonly ManualLogSource logger = CCULogger.GetLogger();
public static GameController GC => GameController.gameController;
Expand Down
2 changes: 0 additions & 2 deletions CCU/Documentation/C01_AgentDefaultGoals.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ Default Goals are where you define how an Agent placed in a chunk will act. E.g.
## Scene Setters
Scene Setters are for ambience. They trigger immediately when the level loads. Note that these are compatible with Explode on Death, so you can use these to make a lot of adjustments to your level.

These may not work if the agent starts in a position that will cause them to panic (near danger or in un-owned space). Set their Owner ID to 99 to prevent at least some of those issues.

|Name |Notes |
|:----------------------------------|:------|
|Arrested |- Agent starts out arrested
Expand Down
7 changes: 5 additions & 2 deletions CCU/Documentation/C02_Items.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ Items
</h1>
<br><br>

Pretty minimal! Because CCU isn't mainly a content mod, items will be limited to those that CCU sort of requires in order to mesh with the base game.
Pretty minimal! Because CCU isn't a content mod, items will be pretty limited.

WARNING: You cannot place custom items on the ground in the editor. This is a limitation of RogueLibs, and I'm not able to address it.

## Items

|Name |CCPV |Notes |
|:----------------------------------|------:|:------|
|Class-A-Ware | 2|- Shows a full stat readout of a target NPC. CCU Designer Traits are hidden.<br>- Gives bonus XP for each new class scanned.<br>- Free use on previously scanned classes.
|Class-A-Ware | 2|- Shows a full stat readout of a target NPC. CCU Designer Traits are hidden.<br>- Gives bonus XP for each new class scanned.<br>- Free use on previously scanned classes.
|Rubber Bullets Mod | 3|- Applies a Rubber Bullets mod to a target firearm.<br>- If a Rubber Bullet weapon would take an agent under 10% HP, they are knocked out.<br>- Going under -10% HP kills them.<br>- Pacifists can use Rubber Bullet weapons.
10 changes: 6 additions & 4 deletions CCU/Documentation/C03_Mutators.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ Mutators
</h1>
<br><br>

Mutators. What can I say about mutators? Not a whole lot. But this space looks odd without a little bit of text.

This has been the introduction.

## Followers
|Mutator |Effect |
|:--------------------------------------------------|:------------------------------------------------------|
|Homesickness Disabled[^1] |- Followers no longer leave the party at the end of the level<br>- Homesickness Killer removed from trait choice pool
|Homesickness Mandatory[^1] |- Followers *always* leave at the end of the level<br>- Homesickness Killer removed from trait choice pool

[^1]: This is a Player feature. This means it will be accessible by players, and won't have all the [CCU] name prefixes that Designer-only content has. It also costs Nuggets to unlock, because CCU is a scam to get your precious nuggets. Sucker!
|Homesickness Disabled |- Followers no longer leave the party at the end of the level<br>- Homesickness Killer removed from trait choice pool
|Homesickness Mandatory |- Followers *always* leave at the end of the level<br>- Homesickness Killer removed from trait choice pool
10 changes: 6 additions & 4 deletions CCU/Documentation/C04_Objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,13 @@ Objects
<br>
<br>

Objects! They are the things we know and have opinions about, and sometimes they are neither of those things. It's all a matter of perspective, maybe. I don't care. But this introduction isn't empty anymore.

## Containers
Some objects can now contain Items. See the [Object Variables list](https://github.com/Freiling87/CCU/edit/master/CCU/Documentation/C03_Objects.md#object-variables) for specifics.
Some objects can now contain Items. See the Object Variables list below for specifics.

## Investigation
You can now write and read text with several objects as if they were Signs. The player views this text with the "Investigate" interaction (wording intended to be as broad as possible). See the Object Variables list for specifics.
You can now write and read text with several objects as if they were Signs. The player views this text with the "Investigate" interaction (wording intended to be as broad as possible). See the Object Variables list below for specifics.

## Object Variables
The full list of modifiable variables added to all Objects. **(V)** indicates the variable slot is already occupied by Vanilla content. Or... are those the Vegan options? I forget.
Expand Down Expand Up @@ -89,10 +91,10 @@ The full list of modifiable variables added to all Objects. **(V)** indicates th
|Toilet |Container Item | | |
|Trash Can |Container Item | | |
|Tree | | | |
|Tube |Container Item | | |- Factory operation prevents container access.
|Tube |Container Item | | |- Factory operation prevents container access. Shut it down with a Computer or Power Box to reach inside.
|Turntables | | | |
|Turret | | | |
|Vendor Stand |Container Item | | |- Interact to Ransack. Causes noise and annoys owner. Works with Sneaky/Nimble Fingers.
|Vendor Stand |Container Item | | |- Interact to Ransack. Causes noise and angers owner. Works with Sneaky/Nimble Fingers.
|Water Pump |Container Item | | |
|Well |Container Item | | |
|Window |Investigation Text | | |
7 changes: 4 additions & 3 deletions CCU/Documentation/C0501_Appearance.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,12 @@ The color of -- hey, you get it! Wow, you're really, really, really, really smar

|Trait |Effects |
|:----------------------------------|:--------------------------------------|
|Fleshy Follicles |Hair color matches skin color. Gross.
|Matched Masks |If a mask is rolled, matches its color to Body Color
|Uncolored Masks |If a mask is rolled, it won't be colored

## HS1: Hairstyle
You're really gonna hate the names in this group, because they don't sound like what they look like. But I copied vanilla, and that's my excuse!
You're really gonna hate the names in this group, because a lot of them aren't terribly descriptive. But I used the game's names for them, so that's my excuse!

## HS2: Hairstyle Grouped

Expand Down Expand Up @@ -168,7 +169,7 @@ You're really gonna hate the names in this group, because they don't sound like
|Masks 50% |If the hairstyle pool contains any Masks, raises their likelihood of being drawn to 50%.

## LC1: Legs Color
These rectangles do a lot of work. Legs, pants, shoes, all depending on context. Give it up for the rectangles, folks! 👏👏👏
These rectangles do a lot of work. Legs, pants, shoes, all depending on how you squint at them. Give it up for rectangles, folks! 👏 👏 👏

## LC3: Legs Color Special

Expand All @@ -178,7 +179,7 @@ These rectangles do a lot of work. Legs, pants, shoes, all depending on context.
|Pantsless |Legs color matches skin color

## SC1: Skin Color
All skin color options
Hoo boy. No jokes here. Just notes!

## SC2: Skin Color Grouped

Expand Down
34 changes: 16 additions & 18 deletions CCU/Documentation/C0502_Loadout.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,24 @@ Loadout System
</h1>
<br><br>

This system makes use of the items you add in the character editor. You control the generation of the inventory through a series of traits.

# Terms Used
* **<u>Pockets</u>** - All inventory not put into an equipment Slot.
* **<u>Pool</u>** - All items added to a character for a particular Slot.
* **<u>Slot</u>** - Equipment slot. Slots: Headgear, Body armor, Ranged Weapon, Melee Weapon, Thrown Weapon, Pocket.
The Loadout system allows you to vary the items generated in NPC inventories. This lets you generate vanilla-ish loot and equipment pools.

# How to use the system
First, pick your items. Add them through the Character Creator as you normally would for a player character.
First, add items to the character on the Items page of the Character Creator. This system does *not* use the items added in the Chunk Editor.

Then, select a Loader trait. **Not using a Loader trait will cause bugs**. See the notes on Loaders below to see how they behave.

Then, select a Loader trait. Without one, items will not be generated on your character.
When a chunk is loaded, any NPC with Items and a Loader trait in its saved character data will vary its generated inventory accordingly.

# Important Terms
* **<u>Slot</u>** - All items fall into one of the following categories:
* Headgear
* Body Armor
* Ranged Weapon
* Melee Weapon
* Thrown Weapon
* Pockets: Anything that doesn't equip to one of the above slots.
* **<u>Pool</u>** - All items added to a character for one particular slot. Each slot has a separate pool.

# Traits

Expand All @@ -30,20 +37,11 @@ Then, select a Loader trait. Without one, items will not be generated on your ch
|Chunk Key |- Starts with the chunk's Key
|Chunk Safe Combo |- Starts with the chunk's Safe Combo

## Gun Nut

|Trait |Effect |
|:--------------------------------------------------|:------------------------------------------------------|
|Accuracy Mod |- Applies mod to all applicable weapons in inventory
|Ammo Stock |"
|Rate of Fire Mod |"
|Silencer |"

## Loader

|Trait |Effect |
|:--------------------------------------------------|:------------------------------------------------------|
|Flat Distribution |- Pulls a random item for each Slot from its Pool. All items have an equal chance. "No item" is given an equal chance to all items in the Pool.
|Flat Distribution |- Picks one random item from the pool for each Slot. All items have an equal chance to generate. "No item" is given an equal chance to all items in the Pool.
|Scaled Distribution |- Each item in a Slot's Pool is assigned a chance to generate, inverse to its cost - this means cheaper items are more likely to generate. Rolls an attempt to generate each item. If all chance rolls fail, no item is generated for that Slot.
|Upscaled Distribution |Identical to the Scaled Distribution Loader, except the chance for an item to generate is proportional to its cost. This causes the most expensive items selected to be more likely.

Expand Down
19 changes: 17 additions & 2 deletions CCU/Documentation/C0503_PlayerTraits.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,24 @@ Just normal SOR traits, accessible by players. Cost Nuggets to unlock, because C
|Myrmicapo |5 |- Armor damage reduced by 1/3
|Myrmidon |7 |- Armor damage reduced by 2/3

## Gun Nut
|Trait |CCPV |Effect |
|:--------------------------------------------------|------:|:------------------------------------------------------|
|Accuracy Modder |5 |- Agent applies an Accuracy Mod to all eligible ranged weapons in inventory.
|Ammo Stocker |5 |- ", Ammo Stock
|Rate of Fire Modder |5 |- ", Rate of Fire Mod
|Rubber Bulleteer * |10 |- ", Rubber Bullets Mod. Knocks out targets at 10% HP, kills at -10% HP. Pacifists can use rubber bullet guns.
|Silencerist |5 |- ", Silencer

**\* Rubber Bullet rules**
- If rubber bullet damage reduces an NPC's health to 10% or lower, they are knocked out. This counts as if you had used Chloroform or a Tranquilizer gun on them.
- If they go below -10%, they are killed... but less lethally! Rubber Bullet guns are usable by Pacifists.
- Electronic characters are not vulnerable

## Language
Note that these have limited utility in vanilla chunks. They are more useful in custom content where the designer has made use of the language system.
Note that these have limited utility in vanilla chunks. They are more useful in custom content where the designer has made use of the language system. Check out Cyan_Light's Vendor Variety chunkpack if you want to try these out: https://steamcommunity.com/sharedfiles/filedetails/?id=2851981424

|Trait |CCPV |Effect |
|Trait |CCPV |Effect |
|:--------------------------------------------------|------:|:------------------------------------------------------|
|Polyglot |2 |- Speak all languages.
|Speaks Binary |1 |- Bypass Vocally Challenged with Robots, Hackers and anyone else with this trait
Expand All @@ -43,6 +57,7 @@ Note that these have limited utility in vanilla chunks. They are more useful in

|Trait |CCPV |Effect |
|:--------------------------------------------------|------:|:------------------------------------------------------|
|Knockback Peon |5 |- Knockback heavily reduced.
|Melee Maniac |3 |- Melee attack speed increased by 20%.
|Melee Maniac + |5 |- Melee attack speed increased by 40%.
|Remise Beast |5 |- All Melee weapons have rapid fire.
Expand Down
Loading

0 comments on commit 221be0b

Please sign in to comment.