Jump to content

PhantomSkyfire

Member
  • Posts

    5
  • Joined

  • Last visited

PhantomSkyfire's Achievements

  1. Ahaaaa~! I guess repairing items with the durability of butter knives doesn't fit into the dev's paradigm. Ah well, with how cheap the things are to produce I guess it doesn't matter. Thank you. Marked as solved. By the way, I love your mods. =)
  2. It might be helpful if I post the entire file. It's all one file. module LoonyMod{ imports { Base } item LoonyKnifeWood { MaxRange = 0.9, WeaponSprite = Knife, MinAngle = 0, Type = Weapon, MinimumSwingTime = 2, KnockBackOnNoDeath = FALSE, SwingAmountBeforeImpact = 0.02, Categories = Blade, ConditionLowerChanceOneIn = 1, Weight = 0.4, SplatNumber = 0, PushBackMod = 0.3, MaxDamage = 0.4, SubCategory = Stab, AimingMod = 0.8, ConditionMax = 5, MaxHitCount = 1, IsAimedHandWeapon = TRUE, DoorDamage = 1, SwingAnim = Stab, WeaponWeight = 1.7, DisplayName = Wooden Knife, MinRange = 0.61, CloseKillMove = Jaw_Stab, SwingTime = 2, MinDamage = 0.2, KnockdownMod = 0, SplatBloodOnNoDeath = TRUE, Icon = KnifeWood, RunAnim = Run_Weapon2, IdleAnim = Idle_Weapon2, BreakSound = PZ_WoodSnap, TreeDamage = 0, EnduranceMod = 0.5, } item LoonyWhetstone { Weight = 0.35, Type = Drainable, UseDelta = 0.1, UseWhileEquipped = FALSE, DisplayName = Simple Whetstone, Icon = Rock, } recipe Make Wooden Knife { PercedWood, WoodenStick, Result:LoonyKnifeWood, Time:40.0, Category:Carpentry, } recipe Make Simple Whetstone { Stone, RippedSheets, Result:LoonyWhetstone, Time:40.0, Category:Survivalist, } fixing Sharpen Wooden Knife { Require : LoonyKnifeWood, Fixer : LoonyWhetstone, }/*********************************************************//* Integrate the wooden knife to default crafting lists. *//*********************************************************/ recipe Slice Watermelon { Watermelon, keep LoonyKnifeWood, Result:WatermelonSliced=10, Time:70.0, Category:Cooking, } recipe Slice Bread { keep LoonyKnifeWood, Bread, Result:BreadSlices=3, Sound:PZ_SliceBread, Time:40.0, Category:Cooking, } recipe Slice Bread { keep LoonyKnifeWood, BreadDough, Result:BreadSlices=2, Sound:PZ_SliceBread, Time:40.0, Category:Cooking, } recipe Slice Pie { keep LoonyKnifeWood, PieWholeRaw, Result:Pie=5, Time:20.0, OnCreate:SlicePie_OnCreate, Category:Cooking, } recipe Slice Cake { keep LoonyKnifeWood, CakeRaw, Result:CakeSlice=5, Time:20.0, OnCreate:SlicePie_OnCreate, Category:Cooking, } recipe Slice Fillet { keep LoonyKnifeWood, Bass/Catfish/Perch/Crappie/Panfish/Pike/Trout, Result:FishFillet, Sound:PZ_FoodSwoosh, Time:50.0, OnTest:CutFish_TestIsValid, OnCreate:CutFish_OnCreate, Category:Cooking, } recipe Slice Fillet { keep LoonyKnifeWood, keep FishFillet, Result:FishFillet, Sound:PZ_FoodSwoosh, Time:50.0, OnTest:CutFillet_TestIsValid, OnCreate:CutFillet_OnCreate, Category:Cooking, } recipe Slice Frog { keep LoonyKnifeWood, Frog, Result:FrogMeat, Sound:PZ_FoodSwoosh, Time:50.0, Category:Cooking, }}
  3. I added a wooden knife to the game. This works. I added a whetstone to the game, which works. I have both these items in my inventory. When I right-click on my wooden knife, I do not see the expected repair option. This is the fixing code: fixing Sharpen Wooden Knife { Require : LoonyKnifeWood, Fixer : LoonyWhetstone, }(I have no idea why the indentation is so weird on the forum) I have been staring at it for a long time and comparing it to the standard fixes in ./media/scripts/fixing.txt. There is no sign of errors in the game terminal. What do?
×
×
  • Create New...