Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Also included with the update are randomized debuff severity with sandbox options if you want to adjust it. Each period will be unique, sometimes you'll get severe cramps and become fatigued faster and have trouble sleeping. Other times it'll pass without an issue and everything in between.
Next thing I plan to work on are Moodles and PMS symptoms.
From:
local group = BodyLocations.getGroup("Human")
group:getOrCreateLocation("HygieneItem")
To:
local group = BodyLocations.getGroup("Human")
local bodyLocation = BodyLocation.new(group, "HygieneItem")
group:getAllLocations():add(bodyLocation)
local RandomClothingLocations = {
"HygieneItem",
}
local group = BodyLocations.getGroup("Human")
for _, location in ipairs(RandomClothingLocations) do
local bodyLocation = BodyLocation.new(group, location)
group:getAllLocations():add(bodyLocation)
end
If you see a black screen on load, just spam the escape key.
1. A new character always starts on their period
A: Increase the delay time for "Minimum First Period Delay Time" in sandbox settings. Set the min and max to 7 to not start on your period. Your cycle is generated on character spawn so either set this before starting a new game, or you can make this change, then reload the game, and create a new character.
2. Or every time you log in on an existing character you are on your period no matter how long it's been since your period started, or bleed/pain stat even though wearing tampons or taking painkillers?
A: This would be a bug, please describe your settings and what led up to this or share your log file with me if you're comfortable.
3. Or something else?
A: Same answer as 2.
A new cycle is generated when a valid one isn't found, in cases like (New character spawn, end of previous cycle, or an error or otherwise invalid cycle).
I can't seem to use sandbox options to adjust spawn rates in buildings because this seems to be called before player data is loaded.
It is fine, I prefer using default Loot menu in sandbox.
Loot distribution code is here if you're curious:
https://github.com/Levantine-1/reddays/blob/main/Contents/mods/RedDays/42/media/lua/server/items/RedDays_ProceduralDistributions.lua
For items in furniture, see the loot table starting with:
local distributions = { -- Format: {distributionName = {baseRate, iterations}}
I looked for spots where medical or feminine items (perfume, makeup, etc.) spawn and added my items there.
Base rate = how likely an item is to appear.
Iterations = number of chances for it to appear multiple times.
I can't seem to use sandbox options to adjust spawn rates in buildings because this seems to be called before player data is loaded.
For zombie loot, see the OnZombieDead function — here sandbox options work, since it for sure runs after the game is loaded (when a zombie is killed).
I don't know very well how loot tables work, but if it is possible to include red days item in a distribution category such a Medical or Other I think it would do the trick for me as those can be adjusted in default sandbox options.
I plan to cut the spawn rate of item packs on corpses down to very rare.
As for the single items. I thought it would make sense that most women would carry spares in their pockets/purses at all times, and right now only 80% of female corpses would carry panty liners and 20% carry tampons/pads.
In any case, I'll add sandbox options for this soon.
Smash that patriarchy! (excitedly waiting for organized categories: core compatibility... feeling disorganized and contentedly validated until then cuz I can't live without "Red Days" now.