Jump to content

Search the Community

Showing results for tags 'Shutoff'.

  • 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

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 1 result

  1. I'm pretty sure this has been mentioned before and I know some others have been looking for a way to disable Water and Electricity shutoff's. The better way of implementing this would be via a mod to the main sandbox options. ( I thought ) as you know you already have the options for Instant, then time rand range from 0-x But it would be nice to have an option in there stating Never. I've got this working(I think) but for some reason afterwards when selecting to use one of the random's it crashes, sure it has some thing to do with those two lines. SandboxVars.WaterShutModifier = getSandboxOptions():randomWaterShut(self.water.selected);SandboxVars.ElecShutModifier = getSandboxOptions():randomElectricityShut(self.elec.selected); The options obviously look like this. self.water = self:addCombo(self.splitpoint, 60, 280, 20, "WATER SHUTOFF: ", {"Instant", "none", "0-30 days", "0-2 months", "0-6 months", "0-1 year", "0-5 years"}, 3, self, nil);self.elec = self:addCombo(self.splitpoint, 60, 280, 20, "ELECTRICITY SHUTOFF: ", {"Instant", "None", "0-30 days", "0-2 months", "0-6 months", "0-1 year", "0-5 years"}, 3, self, nil);Wasn't to sure if one should just create a new function for that with if or it was something easy as a one liner to just add to the existing. Help would be appreciated, thanks.
×
×
  • Create New...