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
(ZombRand(9) <= 3) would be 40%.
ZombRand generates a number between 0 and the number in the brackets immediately after it, which is compared against the other number.
ZombRand(9) has 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 as possible outcomes, so ten possible outcomes because 0 is included. It will succeed if the number is less than or equal to 3 (so success will be on a 0, 1, 2 or 3), give 4 possible successful outcomes out of 10 possible outcomes total.
function ISClearAshes:perform()
-- needed to remove from queue / start next.
ISBaseTimedAction.perform(self)
local playerObj = self.character
local playerInv = playerObj:getInventory()
if playerInv:containsEvalRecurse(predicateClearAshes) then
self.ashes:getSquare():transmitRemoveItemFromSquare(self.ashes)
self.ashes:getSquare():getObjects():remove(self.ashes)
if (ZombRand(3) >= 2) then --selects a random number between 0-3 (including 0 itself). Currently has a 50% chance to give charcoal.
playerInv:AddItem("Base.Charcoal")
end
end
end
right click to clean up the ash it can be hard to get the option to show up, u gotta click like the corner in slightly diff spots so many times to finally have the option appear.
but i got on admin account than spawned on in myself, switched to test account and took a joy ride waiting to see if i got this error + kick like he did but i did not till the point i got dragged out and eaten >.<
seems it was somekinda VehicleHitZombie Type3 flags and he got kicked form server with somekinda 21 or 22 number showed and something about packets
anyways i could not re-create said error sadly so im waiting to see if anyone else gets it...
getting back on topic >.<
thanks for this mod <3 it was so dumb of devs to remove clean ash action from build41 >.< why would they remove realism, i could have understood if they made it so u needed a bag or something to shovel the ash into & could use it for compost or farm or something but nope totally removed the acton....
I have no idea how PZ multiplayer anticheat works either tbh but it's a good sign no one else has mentioned anything.
if so hello my new mod friend <3
If you're suddenly able to clean up ashes with a can opener, and you couldn't in vanilla,
and no other mods are enabled, welp, that is a problem and someone should yell at the author.
Anyway ya it was a mistake on my part as i legit thought it said rake but ya all is good :)
This mod makes cleaning multiple piles really quick, similar to how you can go into "cut down tree" mode. Thank you
b) that doesn't matter, shovels work fine in this mod, thanks item tag system, and
c) give a poor broom a home, come on, they are severely underrated in the apocalypse.
IDK what that means tbh.
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2600447120&searchtext=bundler