needs.txt
ghost314 edited this page Dec 29, 2015
·
3 revisions
##Overview
This file defines all of the various needs for your prisoners, as well as the types of objects and prisoner actions that can satisfy those needs.
Each need is defined within a BEGIN Need ...
definition block; an example is shown below (bullet points just for aesthetics, don't include those in your file). Bold items are mandatory, everything else is optional.
BEGIN Need
- [
Name
](Name (needs.txt))<needId>
- [
Priority
](Priority (needs.txt))<number>
- [
FailureAction
](FailureAction (needs.txt))<actionId>
- [
TimeToAction
](TimeToAction (needs.txt))<number>
- [
TimeToFailure
](TimeToFailure (needs.txt))<number>
- [
StartingActionPoints
](StartingActionPoints (needs.txt))<number>
- [
RandomActionPoints
](RandomActionPoints (needs.txt))<number>
- [
Chance
](Chance (needs.txt))<number>
- [
Visibility
](Visibility (needs.txt))<Visible|Hidden|AutoHide>
- [
Properties
](Properties (needs.txt))<propertyId>
- [
GenerationRules
](GenerationRules (needs.txt))<generationRuleId>
END
Each provider is defined within a BEGIN Provider ...
definition block; an example is shown below (bullet points just for aesthetics, don't include those in your file).
BEGIN Provider
- [
Action
](Action (needs.txt))<actionId>
- [
ProviderType
](ProviderType (needs.txt))<Object|Room>
- [
Object
](Object (needs.txt))<objectId>
- [
Slot
](Slot (needs.txt))<number>
- [
Room
](Room (needs.txt))<roomId>
- [
Regime
](Regime (needs.txt))<activityId>
- [
PrimaryNeed
](PrimaryNeed (needs.txt))<needId>
- [
PrimaryRate
](PrimaryRate (needs.txt))<number>
- [
SecondaryNeed
](SecondaryNeed (needs.txt))<needId>
- [
SecondaryRate
](SecondaryRate (needs.txt))<number>
- [
ActionType
](ActionType (needs.txt))<actionId>
- [
Flags
](Flags (needs.txt))<flagId>
- [
Priority
](Priority (needs.txt))<number>
END
##Modding
To change needs and providers, simply create a new needs.txt
file in your mod's data folder and insert data only for those needs and providers which you wish to modify.