ReputationLevel ​
Inherits: Resource
Individual reputation level within a faction's reputation system
Properties ​
String | level_name | "": |
int | min_reputation | 0 |
String | description | "": |
Color | level_color | Color.WHITE |
CompressedTexture2D | level_icon | |
FactionRelationship | relationship | FactionRelationship.NEUTRAL |
Methods ​
Array[ReputationLevel] | create_standard_reputation_levels() static |
Array[ReputationLevel] | create_neutral_only_system() static |
String | get_display_string() |
Enumerations ​
enum FactionRelationship ​
Enum for relationship types (used in faction relationships)
- HOSTILE =
0 - NEUTRAL =
1 - FRIENDLY =
2
Property descriptions ​
String level_name = "": ​
========== CORE PROPERTIES ==========
int min_reputation = 0 ​
The reputation where this level starts.
String description = "": ​
The text of the level.
Color level_color = Color.WHITE ​
The color of the level.
CompressedTexture2D level_icon ​
The icon of the level.
FactionRelationship relationship = FactionRelationship.NEUTRAL ​
How the faction treats the player at this level (hostile, neutral, friendly).
Method descriptions ​
Array[ReputationLevel] create_standard_reputation_levels() ​
Create simple hostile/neutral/friendly system
Array[ReputationLevel] create_neutral_only_system() ​
Create neutral-only system for environmental/non-factional entities
String get_display_string() ​
Get display string for UI