Project Zomboid

Project Zomboid

[B42] [B41] Camp in the Rain
1-10 van 23 items weergegeven
< 1  2  3 >
Update: 5 jun om 2:24

I think TIS changed the tile sprites for CampingTentKit2 and ImprovisedTentKit, which affected some of their sprite names and caused them to stop working.

I’ve updated the tent sprite matching table so it now properly identifies the tents:

local tentType
if string.match(spriteName, "^camping_01_[0-3]$") then
tentType = "medium"
elseif (string.match(spriteName, "^camping_03_[0-9]$") or
string.match(spriteName, "^camping_03_1[0-5]$") or
string.match(spriteName, "^camping_03_2[4-7]$") or
string.match(spriteName, "^camping_03_3[2-9]$") or
string.match(spriteName, "^camping_03_4[0-7]$")) then
tentType = "medium"
elseif string.match(spriteName, "^camping_04_[0-9]$") or
string.match(spriteName, "^camping_04_[0-9][0-9]$") or
string.match(spriteName, "^camping_04_1[0-1][0-9]$") or
string.match(spriteName, "^camping_04_12[0-7]$") then
tentType = "big"
elseif string.match(spriteName, "^camping_01_[4-6]$") then
tentType = "campfire"
end

Update: 23 mei om 3:48

- Added missing "camping_01_0"

Update: 13 apr om 17:01

[B42 Updates]

- Fix tent overlaps and lookups.

local tentType if string.match(spriteName, "^camping_01_1$") then tentType = "small" elseif (string.match(spriteName, "^camping_03_[0-9]$") or string.match(spriteName, "^camping_03_1[0-5]$") or string.match(spriteName, "^camping_03_2[4-7]$") or string.match(spriteName, "^camping_03_3[2-9]$") or string.match(spriteName, "^camping_03_4[0-7]$")) then tentType = "medium" elseif string.match(spriteName, "^camping_04_[0-9]$") or string.match(spriteName, "^camping_04_[0-9][0-9]$") or string.match(spriteName, "^camping_04_1[0-1][0-9]$") or string.match(spriteName, "^camping_04_12[0-7]$") then tentType = "big" elseif string.match(spriteName, "^camping_01_[4-6]$") then tentType = "campfire" end
Was trying to optimize this but i just get errors for it, so i just left it alone since this is working fine.. lol

- Fix while sleeping wetness and panic accumulates.

- hopefully nothing breaks.


[B41 Updates]
- To follow.

Update: 12 apr om 7:27

Update: 10 apr om 21:30

Update: 24 mrt om 17:52

Update: 12 mrt om 9:37

-- Added Lean/Tarp/Hide Shelters from B42 Build Menu.

hopes nothing breaks....

Update: 27 feb om 18:09

-- Fixed Typos
-- Made a unified multiplier for gamespeed (fast forward).

Update: 27 feb om 4:32

- Drying speed now scales more naturally with tent size, ensuring a progressive and balanced adjustment.

- Adjusted dryinRates for vanilla tent in [B41].

Update: 23 feb om 22:41

-- Added B41 Vanila Tent.

::Note: It will only work with Vanilla Tent in B41::