Search the Community

Showing results for tags 'modify'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Announcements
    • News
  • Project Zomboid
    • PZ Updates
    • General Discussions
    • Bug Reports
    • PZ Support
    • PZ Multiplayer
    • PZ Community & Creativity
    • PZ Suggestions
  • PZ Modding
    • Tutorials & Resources
    • Mods
    • Items
    • Mapping
    • Mod Ideas and Requests
  • General Games Development
    • Indie Scene
  • Other Discussions
    • General Discussion
    • Forum Games & Activities
    • Pen & Paper / Community RPGs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Twitter


Interests

Found 2 results

  1. Pudge

    Lose a "random" Hunger ammount

    Hellow, thanks for read, thats the problem... i was trying to do something like that. any idea about how to do that? function Itemcool() local inv = getPlayer():getInventory(); it = inv:FindAndReturn("Base.Apple"); if it then inv:Remove("Apple"); A = random number between (0 to 100) -- Roll a number between 0 and 100 if A <= 30 then { Player Hunger-10} else {Player Hunger -20} -- 30% chance of lose 10 of hunger and 70% chance of lose 20 Hunger end end Events.OnPlayerUpdate.Add(Itemcool); Solution ---> function Itemcool() local inv = getPlayer():getInventory(); local player = getPlayer(); it = inv:FindAndReturn("Base.Apple"); if it then inv:Remove("Apple"); if ZombRand( 100 ) <= 30 then player:getStats():setThirst (player:getStats():getThirst() + 0.05); else player:getStats():setThirst (player:getStats():getThirst() + 0.15); end end end --// 30% chance of get 0.05 thirst and 70% of get 0.15% Events.OnPlayerUpdate.Add(Itemcool);
  2. hey everyone, it may just be me, and maybe there are some things I haven't read yet that are going to be implemented later on, or have been recently but here goes... I would love to be able to "Modify" / "Upgrade" construction projects, i.e walls, floors, doors, crates, etc. so that as you level your construction ability you are able to change the strength and look of objects built in lower levels... On that same note, if that is not going to be something considered... (if we must tear down walls, etc, to replace them with new ones) can there be an option (right click a wall or item) for destroy like there is with furniture? I had walls built and a crate full of wood planks near the wall. I took down the wall and the crate and everything inside disappeared... Sleep...Takes forever... I understand it is good for the ambiance of the game. but can there at least be a way to wake the character? (have them be not fully rested, or drowsey?)