Jump to content

Search the Community

Showing results for tags 'fixing'.

  • 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 2 results

  1. I have two types of items that don't work here. 1. Soap I created two soaps, here are my settings in the item file: item MajesticOliveSoap { DisplayCategory = Household, Type = Drainable, UseDelta = 0.05, UseWhileEquipped = FALSE, DisplayName = Majestic Olive Soap, Icon = MajesticOliveSoap, Weight = 0.1, cantBeConsolided = TRUE, } item MajesticCarbolicSoap { DisplayCategory = Household, Type = Drainable, UseDelta = 0.05, UseWhileEquipped = FALSE, DisplayName = Majestic Carbolic Soap, Icon = MajesticCarbolicSoap, Weight = 0.1, cantBeConsolided = TRUE, } I went into the game to test and didn't get any errors, but they still don't work, the game doesn't treat them as soap: I first thought of the Vitamins example, so maybe I could make my soap work by putting "Soap" at the beginning of the item ID? It turned out to be a failed attempt. Then I remembered the Lua settings, so I checked out ISWashClothing.lua and ISWashYourself.lua. If it just needs to add my item ID, I know how to do it (like bleach), but it's not as easy as I thought, I didn't find "Soap2" in it, so it already Beyond what I can comprehend, I have no clue right now. 2. Tape and white glue I created two tapes and two glues, here are my settings in the item file: item Glue_Mew-Mew { Weight = 0.1, Type = Drainable, UseDelta = 0.2, UseWhileEquipped = FALSE, DisplayName = Glue(Mew-Mew), Icon = Glue_Mew-Mew, Tooltip = Tooltip_Stationery, SurvivalGear= TRUE, } item Glue_NanPaoResins { Weight = 0.2, Type = Drainable, UseDelta = 0.1, UseWhileEquipped = FALSE, DisplayName = Glue(Nan Pao Resins), Icon = Glue_NanPaoResins, Tooltip = Tooltip_Stationery, SurvivalGear= TRUE, } item OPPTape { Weight = 0.3, Type = Drainable, UseDelta = 0.05, UseWhileEquipped = FALSE, DisplayName = OPP Tape, Icon = OPPTape, Tooltip = Tooltip_Stationery, SurvivalGear= TRUE, } item PVCTape { Weight = 0.3, Type = Drainable, UseDelta = 0.05, UseWhileEquipped = FALSE, DisplayName = PVC Tape, Icon = PVCTape, Tooltip = Tooltip_Stationery, SurvivalGear= TRUE, } Then I tested in debug mode, get some to the main inventory using the items list, no errors at all during the process, but I still can't use the stuff I created to repair the weapon, it's showing red, and I don't Know where the problem is. I found a lot of similar mods in the workshop, but they all just make vanilla soap/tape/glue, not create an item that is the same as vanilla soap/tape/glue. So I guess they might not be possible?
  2. so, now i'm writing item Eraser { Weight = 0.05, Type = Normal, DisplayName = Eraser, Icon = Eraser, } but wanna item Eraser { Weight = 0.05, } is there syntaxis for change only weight?
×
×
  • Create New...