Project Zomboid
[B42] [B41] Camp in the Rain
Показване на 1 — 10 от 23 постъпления
< 1  2  3 >
Обновление: 5 юни в 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

Обновление: 23 май в 3:48

- Added missing "camping_01_0"

Обновление: 13 апр. в 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.

Обновление: 12 апр. в 7:27

Обновление: 10 апр. в 21:30

Обновление: 24 март в 17:52

Обновление: 12 март в 9:37

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

hopes nothing breaks....

Обновление: 27 февр. в 18:09

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

Обновление: 27 февр. в 4:32

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

- Adjusted dryinRates for vanilla tent in [B41].

Обновление: 23 февр. в 22:41

-- Added B41 Vanila Tent.

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