Pink Petal Games
Game Editing And Additions => User Mods => Topic started by: Valth on May 31, 2013, 11:27:23 PM
-
I am trying to add a item that will get rid of Sterility, and every time I try to save the item list with this item included, the editor deletes the Items.itemsx file, rather than actually saving it.
Just in case it makes a difference, I am using WM EX.
-
When it goes to Save As, rename the file to something other than Items.itemsx
-
Just tried that, it doesn't save at all.
-
Try running it as Admin. That might solve your issue.
//PS: You ca just open the file with any decent text editing software and add to it manually...
-
Running Windows XP at the moment, also I tried adding it manually, but the game just hangs when I try starting it with a modified file.
-
Might be different since you're using EX...
-
As far as I remember, wm ex and vanilla wm both use the same items, but in wm ex they were nerfed a lot. While wm ex does have some new traits, it doesn't have items utilising those traits, so items editor should work fine.
Even more strange that the game hangs after manual editing. I tried it once, and it worked perfectly. So I guess that either you made a mistake during editing, or something wrong with your copy of the game.
-
Here is my manual edit, tell me if anything seems out of place that would cause the game to hang.
<Item
Name="Cure Sterile"
Desc="Cure Sterile"
Type="Food"
Badness="0"
Special="None"
Cost="400"
Rarity="Shop50"
Infinite="false"
GirlBuyChance="0">
<Effect
What="Trait"
Name="Sterile"
Amount="0" />
</Item>
-
Nothing wrong here. Maybe you accidentally messed with the global <Items></Items> teg?
Anyway, I have encountered a similar problem recently with another game. For some reason a game refused to accept my code even though it didn't have any mistakes. I solved it by using notepad++ instead of usual notepad.
-
That worked, it allowed me to edit the file manually and add a item, thank you.