Jump to content

bowlympicshero

Member
  • Posts

    10
  • Joined

  • Last visited

bowlympicshero's Achievements

  1. LOL That's what I thought (and did) as well. I just copied the distribution lua to my mod for the time being so I could test effects and icons. Thanks for the help.
  2. Would it perhaps have to do with the fact that there are zero rolls for loot distribution in the stove? Would I have to set the rolls? Adding this doesn't work: table.setn(SuburbsDistributions["all"]["stove"].rolls, 5);Or perhaps there's just something I'm not getting. I guess I'll just have to fiddle with it until I get it.
  3. Maybe I'm missing something because I can't get it to work. [VwSSuburbsDistributions.lua] require "Items/SuburbsDistributions";VwSBase = {}table.insert(SuburbsDistributions["all"]["stove"].items, "VwSBase.Hatchet");table.insert(SuburbsDistributions["all"]["stove"].items, 100); [VwSItems.txt] module VwSBase{item Hatchet { MaxRange = 1, WeaponSprite = Hammer, MinAngle = 0, Type = Weapon, MinimumSwingTime = 3, KnockBackOnNoDeath = TRUE, SwingAmountBeforeImpact = 0.02, Categories = Axe, ConditionLowerChanceOneIn = 30, Weight = 1, SplatNumber = 0, PushBackMod = 0.5, MaxDamage = 1, SubCategory = Swinging, ConditionMax = 10, MaxHitCount = 1, DoorDamage = 15, SwingAnim = Bat, WeaponWeight = 1, DisplayName = Hatchet, MinRange = 0.61, SwingTime = 2.5, MinDamage = 0.5, KnockdownMod = 0, SplatBloodOnNoDeath = TRUE, Icon = Beer, RunAnim = Run_Weapon2, IdleAnim = Idle_Weapon2, TwoHandWeapon = TRUE, }} Am I missing any brackets or is there any kind of syntax error?
  4. How exactly would one go about distributing a new item into the game? Do I need a distribution script or lua? I successfully added an item by modifying the base SuburbsDistributions.lua but would like to make it a less invasive process. For all intents and purposes let's choose the spawn location as a house stove since they're always empty and easy to find.
  5. I'm looking to try and rip/edit item icons from the game data, but am having a hard time finding the actual icons themselves. The item.txt script has the 'icon' parameter for each item, but I can't track down the source for some reason. In case you couldn't tell I'm fairly new to all this. I want to get to the icons so I can assemble an in-depth and comprehensive item and recipe guide for the wiki because lets face it, that thing is extremely outdated and could use a little TLC.
×
×
  • Create New...