Difference between revisions of "User:PigeonGuru/Sandbox"

From RimWorld Wiki
Jump to navigation Jump to search
 
(77 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Template:Heading|This user is a certified Dataminer.}}
 +
 +
{| {{STDT| sortable c_12 text-center}}
 +
! Thought !! Caption !! Something
 +
|-
 +
! AAAAAAAAAA
 +
| AAAAAAAAAA || Lorem ipsum
 +
|-
 +
 +
[[Modding Tutorials/Assets]]
 +
 +
marmine helmet
 +
 
=== template ===
 
=== template ===
  
http://rimworldwiki.com/index.php?title=Template:Nav/guides
+
http://rimworldwiki.com/index.php?title=Template:Nav/guides <br>
 +
http://rimworldwiki.com/index.php?title=Template:Infobox main <br>
 +
http://rimworldwiki.com/wiki/Category:Page_Deletion
  
 
=== save file ===
 
=== save file ===
Line 9: Line 24:
 
=== °C ===
 
=== °C ===
  
=== datamined ===
+
old d.tactics is @ ~140,000 views
  
datamining stuff related to prisoners...
 
  
----
+
{| {{STDT| sortable c_12 text-center}}
private static float PopIntentAdjustedRecruitDifficulty(float baseDifficulty, float popIntent)
+
! Thought !! Caption !! Occurrence !! Trait Effects !! Mood Effect !! Expiration time (days) !! Stack Limit !! Stacking Multiplier
{
+
|-
float num = Mathf.Clamp(popIntent, 0.25f, 3f);
+
! [[Thoughts#Justified execution| Justified execution]]
return 1f - (1f - baseDifficulty) * num;
+
| A guilty prisoner or guest was executed. It was justified, but still sad.<br /> || Guilty prisoner or guest executed || Psychopath, Bloodlust: No effect || -2 || 6 || 5 || 0.25
}
+
|-
 
+
! [[Thoughts#Someone was euthanized| Someone was euthanized]]
----
+
| A prisoner or guest was euthanized. It was humane, but still sad.<br /> || Prisoner or guest executed || Psychopath, Bloodlust: No effect || -3 || 6 || 5 || 0.25
public static void DoTable_PopIntentRecruitDifficulty()
+
|-
{
+
! [[Thoughts#Someone was executed| Someone was executed]]
List<float> list = new List<float>();
+
| A prisoner or guest was killed in cold blood. It seemed a bit evil.<br /> || Prisoner or guest executed || Psychopath, Bloodlust: No effect || -5 || 6 || 5 || 0.25
for (float num = -1f; num < 3f; num += 0.1f)
+
|-
{
+
! [[Thoughts#Someone organ-harvested| Someone organ-harvested]]
list.Add(num);
+
| The colony took body parts from a prisoner or guest. It's horrible, breaking people down for parts when they have no choice. || --- || Psychopath, Bloodlust: No effect || -6 || 6 || 5 || 0.25
}
+
|-
List<float> colValues = new List<float>
+
! [[Thoughts#Justified execution of colonist| Justified execution of colonist]]
{
+
| A guilty colonist was executed. It was justified, but still sad. || --- || Psychopath: No effect || -2 || 6 || 5 || 0.25
0.1f,
+
|-
0.2f,
+
! [[Thoughts#Colonist euthanized| Colonist euthanized]]
0.3f,
+
| A colonist was euthanized. It was humane, but still sad.<br /> || --- || Psychopath: No effect || -3 || 6 || 5 || 0.25
0.4f,
+
|-
0.5f,
+
! [[Thoughts#Colonist executed| Colonist executed]]
0.6f,
+
| A colonist was killed in cold blood. It seemed a bit evil.<br /> || --- || Psychopath: No effect || -5 || 6 || 5 || 0.25
0.7f,
+
|-
0.8f,
+
! [[Thoughts#Colonist organ-harvested| Colonist organ-harvested]]
0.9f,
+
| Someone took body parts from a colonist. It's horrible, breaking people down for parts when they have no choice. || --- || Psychopath: No effect || -6 || 6 || 5 || 0.25
0.95f,
+
|-
0.99f
+
! [[Thoughts#Innocent prisoner died| Innocent prisoner died]]
};
+
| One of our prisoners died despite being harmless. We should be able to take care of our prisoners. If we wanted them dead, we could have at least conducted an orderly execution rather than permit that barbarism. || --- || Psychopath, Bloodlust: No effect || -5 || 6 || 5 || 0.25
DebugTables.MakeTablesDialog<float, float>(colValues, (float d) => "d=" + d.ToString("F0"), list, (float rv) => rv.ToString("F1"), (float d, float pi) => PawnUtility.PopIntentAdjustedRecruitDifficulty(d, pi).ToStringPercent(), "intents");
+
|-
 
+
! [[Thoughts#Colonist died| Colonist died]]
== Graphs ==
+
| One of our people died. We should be able to take care of our people. || --- || Psychopath, Bloodlust: No effect || -3 || 6 || 5 || 0.25
 
+
|-
The below graphs assume an unmodified shooter using a Normal quality weapon.
+
! [[Thoughts#Witnessed ally's death| Witnessed ally's death]]
 
+
| I saw one of my people die. They were alive one moment, and dead the next. || --- || Psychopath, Bloodlust: No effect || -5 || 1,5 || 5 || 0.4
[[File:AssaultRifleAccuracyNoTrait.png|494px|Assault rifle's accuracy with various shooters without any trait.]]
+
|-
 
+
! [[Thoughts#Witnessed outsider's death| Witnessed outsider's death]]
[[File:AssaultRifleAccuracyCarefulShooter.png|494px|Assault rifle's accuracy with various shooters with careful shooter.]]
+
| I saw someone die. They were alive one moment, and dead the next. || --- || Psychopath, Bloodlust: No effect || -3 || 1 || 1 || N/A
 
+
|-
[[File:AssaultRifleAccuracyTriggerHappy.png|494px|Assault rifle's accuracy with various shooters with trigger-happy.]]
+
! [[Thoughts#Witnessed family member's death| Witnessed family member's death]]
 
+
| I saw a member of my family die. My own flesh and blood... || --- || Psychopath, Bloodlust: No effect || -7 || 1 || 1 || N/A
==test==
+
|-
 
+
! [[Thoughts#Defeated hostile leader <name>| Defeated hostile leader <name>]]
{{Collapse|
+
| They were leading efforts to destroy us, and I took them down! || --- || --- || +12 || 3 || 5 || 0.4
 
+
|-
{| class="wikitable"
+
! [[Thoughts#Defeated <name>| Defeated <name>]]
|+ Effect of filth over sterile rooms
+
| I took down a big threat! I'm a hero! || --- || --- || +12 || 3 || 5 || 0.4
 +
|-
 +
! [[Thoughts#Bonded animal <name> died| Bonded animal <name> died]]
 +
| Such a tender, unique animal. This universe is evil! || --- ||  Psychopath: No effect || -8 || 20 || 5 || 0.25
 +
|-
 +
! [[Thoughts#My friend <name> died| My friend <name> died]]
 +
| Such a wonderful person. The universe gets darker every day. || --- ||  Psychopath: No effect || {{H:title|Actual mood change depends on relations between the pawn and the dead pawn.|-10 maximum}} || 20 || 5 || 0.25
 +
|-
 +
! [[Thoughts#My rival <name> died| My rival <name> died]]
 +
| Serves them right. Things are looking up. || --- || --- || {{H:title|Actual mood change depends on relations between the pawn and the dead pawn.|+10 maximum}} || 10 || 5 || 0.25
 +
|-
 +
! [[Thoughts#My son <name> died| My son <name> died]]
 +
| My son is dead. My own flesh and blood... || --- || --- || -20 || 30 || 10 || 0.25
 +
|-
 +
! [[Thoughts#My daughter <name> died| My daughter <name> died]]
 +
| My daughter is dead. My own flesh and blood... || --- || --- || -20 || 30 || 10 || 0.25
 +
|-
 +
! [[Thoughts#My husband <name> died| My husband <name> died]]
 +
| My husband is dead. I am alone. || --- || --- || -20 || 30 || 10 || 0.25
 +
|-
 +
! [[Thoughts#My wife <name> died| My wife <name> died]]
 +
| My wife is dead. I am alone. || --- || --- || -20 || 30 || 10 || 0.25
 +
|-
 +
! [[Thoughts#My fiance <name> died| My fiance <name> died]]
 +
| My fiance died. Such a man... my future is gone. || --- || --- || -18 || 30 || 10 || 0.25
 
|-
 
|-
! Size m^2
+
! [[Thoughts#My fiancée <name> died| My fiancée <name> died]]
!Measurements
+
| My fiancée died. Such a woman... my future is gone. || --- || --- || -18 || 30 || 10 || 0.25
!Dirt beauty
 
!Cleanliness<br>Value
 
!Cleanliness<br>Value Difference
 
 
|-
 
|-
| 1 || 1*1 || -15 || -4.40/0.60 || -5
+
! [[Thoughts#My lover <name> died| My lover <name> died]]
 +
| My lover died. I am so alone. || --- || --- || -16 || 30 || 10 || 0.25
 
|-
 
|-
| 25 || 5*5 ||-15 || 0.40/0.60 || -0.20
+
! [[Thoughts#My brother <name> died| My brother <name> died]]
 +
| My brother died. My own flesh and blood... || --- || --- || -14 || 30 || 10 || 0.25
 
|-
 
|-
| 50 || 5*10 || -15 || 0.50/0.60 || -0.10
+
! [[Thoughts#My sister <name> died| My sister <name> died]]
 +
| My sister died. My own flesh and blood... || --- || --- || -14 || 30 || 10 || 0.25
 
|-
 
|-
| 100 || 10*10 || -15 || 0.55/0.60 || -0.05
+
! [[Thoughts#My grandchild <name> died| My grandchild <name> died]]
|}
+
| My grandchild died. My own flesh and blood... || --- || --- || -12 || 30 || 10 || 0.25
 
 
'''Spilling behavior (observed in hospital):'''<br>
 
*When a tile has a -30 beauty value of blood on it, new blood will spill on another tile. It may be random or have something to do with a possible filth stacking limit.
 
 
 
'''Spilling test:'''<br>
 
*Method: 20 alpacas in a 5*5 room. All killed and body deleted using "damage 10 tool".
 
*Result: Blood never stacks over 5, with -30 beauty. If no tile free to spill blood, nothing happens.
 
 
 
'''Observation:'''<br>
 
*Blood stacking on the same tile will not further decrease the room cleanliness and beauty. Only  blood stacking on previously non bloody tiles will.
 
'''After further observations:'''<br>
 
*This mechanism works with any type of filth. Stacking them with the same ''type of filth'' does not increase their effect. Different types of filth stacking on the same tile will add the effects together.
 
*Example : 2 x blood + 2 x firefoam on one tile will gives the same cleanliness than 1 x blood + 1 x firefoam on one tile.
 
 
 
'''Stacking of dirt and filth test'''<br>
 
*Method: 5*5 room, stacking as much filth as possible over all tiles.
 
**Adding blood (-30) from ''Spilling test''.
 
**Adding fire foam (-25) using dev tools.
 
**getting rid of the floor (-1).
 
**Adding vomit (-41).
 
**Adding dirt (-11, should be -15. Dirtiness values seems to be locked at -107 at most, to check).
 
**insect fluids have not been tested.
 
 
 
*Results:
 
**From the given results it seems that the tiles can not have a beauty value past -107.
 
**It has been observed that the "beauty value" does not decrease when stacking the same type of filth together. Would lock at -30 with the blood. cleanliness locks as beauty does.
 
**Filth stack up to 5 time for a given type of filth. After that, if no space is available to spill filth, the action is cancelled.
 
 
 
Observation:
 
During this study it has been observed that beauty values from indoor filth and outdoor filth are very different. Being indoor/outdoor has an effect on the beauty values.
 
 
 
}{| class="wikitable"
 
|+ Beauty values by type of filth (sample) :
 
 
|-
 
|-
! Filth
+
! [[Thoughts#My father <name> died| My father <name> died]]
!Beauty (outdoor)
+
| My father died. He's gone forever. || --- || --- || -8 || 30 || 10 || 0.25
!Beauty (indoor)
 
 
|-
 
|-
| blood || -8 to -10 || -15 to -30
+
! [[Thoughts#My mother <name> died| My mother <name> died]]
 +
| My mother died. She's gone forever. || --- || --- || -8 || 30 || 10 || 0.25
 
|-
 
|-
| dirt || -4 to -5 || -15
+
! [[Thoughts#My niece <name> died| My niece <name> died]]
 +
| My niece died. Such a wonderful child. || --- || --- || -5 || 30 || 10 || 0.25
 
|-
 
|-
| vomit || -11 to -13 || -40
+
! [[Thoughts#My nephew <name> died| My nephew <name> died]]
 +
| My nephew died. Such a wonderful child. || --- || --- || -5 || 30 || 10 || 0.25
 
|-
 
|-
| fire foam || -8 || -25
+
! [[Thoughts#My half-sibling <name> died| My half-sibling <name> died]]
 +
| My half-sibling died. My own flesh and blood... || --- || --- || -5 || 30 || 10 || 0.25
 
|-
 
|-
| item on floor || -6 to -7|| -6 to -7
+
! [[Thoughts#My aunt <name> died| My aunt <name> died]]
 +
| My aunt died. || --- || --- || -4 || 30 || 10 || 0.25
 
|-
 
|-
| meat on floor || -20 || -20
+
! [[Thoughts#My uncle <name> died| My uncle <name> died]]
 +
| My uncle died. || --- || --- || -4 || 30 || 10 || 0.25
 
|-
 
|-
| chunk || -20 || -20
+
! [[Thoughts#My grandparent <name> died| My grandparent <name> died]]
 +
| My grandparent died. || --- || --- || -4 || 30 || 10 || 0.25
 
|-
 
|-
| soil || -1 || -1
+
! [[Thoughts#My cousin <name> died| My cousin <name> died]]
 +
| My cousin died. My own flesh and blood... || --- || --- || -4 || 30 || 10 || 0.25
 
|-
 
|-
| mud || -2 || -2
+
! [[Thoughts#My kin <name> died| My kin <name> died]]
|}}
+
| My kin died. || --- || --- || -4 || 30 || 10 || 0.25
 
+
|}
As we can observe, most filth have an increased beauty debuff when inside. Also, chunks do have an influence of -6 cleanliness (tested in a clean 1x1 room with wood floor).
 
 
 
Note that mud can not be built over, so you will rarely have the occasion to build a room filled with mud (why would you?). Test done by surrounding a small mud chunk with walls and building a roof over.
 
 
 
Also good to mention, items and raw meat do NOT have any effect on cleanliness. You can store medicine in your hospitals.
 
 
 
'''Conclusion'''
 
*After a fight, colonists in need of treatment will often bleed huge amounts of blood. A proper hospital should be able to withstand up to -35 cleanliness (-105 beauty) per patients to keep cleanliness at 0. It counts as most patients will bleed up to 2-3 times (-10 cleanliness per bloody tiles and -30 beauty) and the doctor or the patient may add in -5 cleanliness (or -15 beauty) due to dirt.
 
**The cheapest design to keep at least [0 <= cleanliness] would be to opt for a 6 x 10 (for at least 59 tiles) hospital for one bed.
 
**The most effective option to keep at least [0.40 < cleanliness] would be to use a 14 x 14 (for at least 195 tiles) hospital for one bed.
 
*Better to note, long term health care do not need such rooms. If you can afford to clean the hospital before healing/operating on a patient you might only need to worry about -20 debuff for cleanliness as you will only have to worry about the new blood spilling form the patient in bed (bleeds slower).
 
**The cheapest design to keep at [0 <= cleanliness] would be 4x5 (for at least 17).
 
**The most effective to keep at [0.40 < cleanliness] would be 6x5 (for at least 34).
 
 
 
}}}
 

Latest revision as of 10:32, 7 January 2021

This user is a certified Dataminer.
Modding Tutorials/Assets marmine helmet

template[edit]

http://rimworldwiki.com/index.php?title=Template:Nav/guides
http://rimworldwiki.com/index.php?title=Template:Infobox main
http://rimworldwiki.com/wiki/Category:Page_Deletion

save file[edit]

C:\Users\%username%\AppData\LocalLow\Ludeon Studios\RimWorld by Ludeon Studios\Saves

°C[edit]

old d.tactics is @ ~140,000 views


Thought Caption Something
AAAAAAAAAA AAAAAAAAAA Lorem ipsum
Thought Caption Occurrence Trait Effects Mood Effect Expiration time (days) Stack Limit Stacking Multiplier
Justified execution A guilty prisoner or guest was executed. It was justified, but still sad.
Guilty prisoner or guest executed Psychopath, Bloodlust: No effect -2 6 5 0.25
Someone was euthanized A prisoner or guest was euthanized. It was humane, but still sad.
Prisoner or guest executed Psychopath, Bloodlust: No effect -3 6 5 0.25
Someone was executed A prisoner or guest was killed in cold blood. It seemed a bit evil.
Prisoner or guest executed Psychopath, Bloodlust: No effect -5 6 5 0.25
Someone organ-harvested The colony took body parts from a prisoner or guest. It's horrible, breaking people down for parts when they have no choice. --- Psychopath, Bloodlust: No effect -6 6 5 0.25
Justified execution of colonist A guilty colonist was executed. It was justified, but still sad. --- Psychopath: No effect -2 6 5 0.25
Colonist euthanized A colonist was euthanized. It was humane, but still sad.
--- Psychopath: No effect -3 6 5 0.25
Colonist executed A colonist was killed in cold blood. It seemed a bit evil.
--- Psychopath: No effect -5 6 5 0.25
Colonist organ-harvested Someone took body parts from a colonist. It's horrible, breaking people down for parts when they have no choice. --- Psychopath: No effect -6 6 5 0.25
Innocent prisoner died One of our prisoners died despite being harmless. We should be able to take care of our prisoners. If we wanted them dead, we could have at least conducted an orderly execution rather than permit that barbarism. --- Psychopath, Bloodlust: No effect -5 6 5 0.25
Colonist died One of our people died. We should be able to take care of our people. --- Psychopath, Bloodlust: No effect -3 6 5 0.25
Witnessed ally's death I saw one of my people die. They were alive one moment, and dead the next. --- Psychopath, Bloodlust: No effect -5 1,5 5 0.4
Witnessed outsider's death I saw someone die. They were alive one moment, and dead the next. --- Psychopath, Bloodlust: No effect -3 1 1 N/A
Witnessed family member's death I saw a member of my family die. My own flesh and blood... --- Psychopath, Bloodlust: No effect -7 1 1 N/A
Defeated hostile leader <name> They were leading efforts to destroy us, and I took them down! --- --- +12 3 5 0.4
Defeated <name> I took down a big threat! I'm a hero! --- --- +12 3 5 0.4
Bonded animal <name> died Such a tender, unique animal. This universe is evil! --- Psychopath: No effect -8 20 5 0.25
My friend <name> died Such a wonderful person. The universe gets darker every day. --- Psychopath: No effect -10 maximum 20 5 0.25
My rival <name> died Serves them right. Things are looking up. --- --- +10 maximum 10 5 0.25
My son <name> died My son is dead. My own flesh and blood... --- --- -20 30 10 0.25
My daughter <name> died My daughter is dead. My own flesh and blood... --- --- -20 30 10 0.25
My husband <name> died My husband is dead. I am alone. --- --- -20 30 10 0.25
My wife <name> died My wife is dead. I am alone. --- --- -20 30 10 0.25
My fiance <name> died My fiance died. Such a man... my future is gone. --- --- -18 30 10 0.25
My fiancée <name> died My fiancée died. Such a woman... my future is gone. --- --- -18 30 10 0.25
My lover <name> died My lover died. I am so alone. --- --- -16 30 10 0.25
My brother <name> died My brother died. My own flesh and blood... --- --- -14 30 10 0.25
My sister <name> died My sister died. My own flesh and blood... --- --- -14 30 10 0.25
My grandchild <name> died My grandchild died. My own flesh and blood... --- --- -12 30 10 0.25
My father <name> died My father died. He's gone forever. --- --- -8 30 10 0.25
My mother <name> died My mother died. She's gone forever. --- --- -8 30 10 0.25
My niece <name> died My niece died. Such a wonderful child. --- --- -5 30 10 0.25
My nephew <name> died My nephew died. Such a wonderful child. --- --- -5 30 10 0.25
My half-sibling <name> died My half-sibling died. My own flesh and blood... --- --- -5 30 10 0.25
My aunt <name> died My aunt died. --- --- -4 30 10 0.25
My uncle <name> died My uncle died. --- --- -4 30 10 0.25
My grandparent <name> died My grandparent died. --- --- -4 30 10 0.25
My cousin <name> died My cousin died. My own flesh and blood... --- --- -4 30 10 0.25
My kin <name> died My kin died. --- --- -4 30 10 0.25