Project Zomboid

Project Zomboid

[B42] [B41] Camp in the Rain
目前顯示第 1-10 項,共 23 項
< 1  2  3 >
更新:6 月 5 日 @ 上午 2:24
Space Donuts 發表

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

更新:5 月 23 日 @ 上午 3:48
Space Donuts 發表

- Added missing "camping_01_0"

更新:4 月 13 日 @ 下午 5:01
Space Donuts 發表

[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.

更新:4 月 12 日 @ 上午 7:27
Space Donuts 發表

更新:4 月 10 日 @ 下午 9:30
Space Donuts 發表

更新:3 月 24 日 @ 下午 5:52
Space Donuts 發表

更新:3 月 12 日 @ 上午 9:37
Space Donuts 發表

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

hopes nothing breaks....

更新:2 月 27 日 @ 下午 6:09
Space Donuts 發表

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

更新:2 月 27 日 @ 上午 4:32
Space Donuts 發表

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

- Adjusted dryinRates for vanilla tent in [B41].

更新:2 月 23 日 @ 下午 10:41
Space Donuts 發表

-- Added B41 Vanila Tent.

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