StackSizes

Jakkee

Plugin Developer
Plugin Developer
Contributor
Jul 28, 2014
1,465
922
113
Australia
Hey! So I've decided to try and change the default stack sizes like my Pluton plugin: http://forum.pluton-team.org/resources/stacksizes.63/
I only have 1 problem, I can't actually set the stack amount.
You can get a stack about by doing:
Python:
def On_ItemsLoaded(self, ItemsBlocks):
    Util.Log("9mm Ammo max uses: " + str(ItemsBlocks.Find("9mm Ammo")._maxUses))
and that will print out 250, Currently im trying to set it and if you try and find the max stack amount after setting the stack amount it will say what ever you set it as. So i'm thinking im doing something wrong or the default stack sizes are client side.
Python:
# -*- coding: utf-8 -*-
__title__ = 'StackSizes'
__author__ = 'Jakkee'
__version__ = '1.0'

import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite


class StackSizes:
    def On_ItemsLoaded(self, ItemsBlocks):
        if not Plugin.IniExists("Settings"):
            Plugin.CreateIni("Settings")
            ini = Plugin.GetIni("Settings")
            ini.AddSetting("Items", "Metal Ore", "250")
            ini.AddSetting("Items", "Sulfur Ore", "250")
            ini.AddSetting("Items", "Leather", "250")
            ini.AddSetting("Items", "Cloth", "250")
            ini.AddSetting("Items", "Animal Fat", "250")
            ini.AddSetting("Items", "Low Grade Fuel", "250")
            ini.AddSetting("Items", "Workbench", "1")
            ini.AddSetting("Items", "Stone Hatchet", "1")
            ini.AddSetting("Items", "Furnace", "1")
            ini.AddSetting("Items", "Torch", "250")
            ini.AddSetting("Items", "Low Quality Metal", "250")
            ini.AddSetting("Items", "Metal Door", "5")
            ini.AddSetting("Items", "Large Wood Storage", "5")
            ini.AddSetting("Items", "Small Stash", "5")
            ini.AddSetting("Items", "Gunpowder", "250")
            ini.AddSetting("Items", "Sulfur", "250")
            ini.AddSetting("Items", "Wood Planks", "250")
            ini.AddSetting("Items", "Paper", "250")
            ini.AddSetting("Items", "Explosives", "250")
            ini.AddSetting("Items", "Bandage", "5")
            ini.AddSetting("Items", "Large Medkit", "5")
            ini.AddSetting("Items", "Small Medkit", "5")
            ini.AddSetting("Items", "Arrow", "10")
            ini.AddSetting("Items", "Handmade Shell", "250")
            ini.AddSetting("Items", "Shotgun Shells", "250")
            ini.AddSetting("Items", "556 Ammo", "250")
            ini.AddSetting("Items", "9mm Ammo", "250")
            ini.AddSetting("Items", "Explosive Charge", "5")
            ini.AddSetting("Items", "F1 Grenade", "10")
            ini.AddSetting("Items", "Flare", "10")
            ini.AddSetting("Items", "Research Kit 1", "1")
            ini.AddSetting("Items", "Cooked Chicken Breast", "250")
            ini.AddSetting("Items", "Anti-Radiation Pills", "250")
            ini.AddSetting("Items", "Wood", "250")
            ini.AddSetting("Items", "Wood Pillar", "250")
            ini.AddSetting("Items", "Wood Foundation", "250")
            ini.AddSetting("Items", "Wood Wall", "250")
            ini.AddSetting("Items", "Wood Doorway", "250")
            ini.AddSetting("Items", "Wood Window", "250")
            ini.AddSetting("Items", "Wood Stairs", "250")
            ini.AddSetting("Items", "Wood Ramp", "250")
            ini.AddSetting("Items", "Wood Ceiling", "250")
            ini.AddSetting("Items", "Metal Pillar", "250")
            ini.AddSetting("Items", "Metal Foundation", "250")
            ini.AddSetting("Items", "Metal Fragments", "250")
            ini.AddSetting("Items", "Metal Wall", "250")
            ini.AddSetting("Items", "Metal Doorway", "250")
            ini.AddSetting("Items", "Metal Window", "250")
            ini.AddSetting("Items", "Metal Stairs", "250")
            ini.AddSetting("Items", "Metal Ramp", "250")
            ini.AddSetting("Items", "Metal Ceiling", "250")
            ini.AddSetting("Items", "Metal Window Bars", "5")
            ini.Save()
        #Thanks to Snake for his help here
        ini = Plugin.GetIni("Settings")
        keys = ini.EnumSection("Items")
        for key in keys:
            ItemsBlocks.Find(key)._maxUses = int(ini.GetSetting("Items", key))
Any ideas? :p
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
4,462
113
At your house.
github.com
Hey! So I've decided to try and change the default stack sizes like my Pluton plugin: http://forum.pluton-team.org/resources/stacksizes.63/
I only have 1 problem, I can't actually set the stack amount.
You can get a stack about by doing:
Python:
def On_ItemsLoaded(self, ItemsBlocks):
    Util.Log("9mm Ammo max uses: " + str(ItemsBlocks.Find("9mm Ammo")._maxUses))
and that will print out 250, Currently im trying to set it and if you try and find the max stack amount after setting the stack amount it will say what ever you set it as. So i'm thinking im doing something wrong or the default stack sizes are client side.
Python:
# -*- coding: utf-8 -*-
__title__ = 'StackSizes'
__author__ = 'Jakkee'
__version__ = '1.0'

import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite


class StackSizes:
    def On_ItemsLoaded(self, ItemsBlocks):
        if not Plugin.IniExists("Settings"):
            Plugin.CreateIni("Settings")
            ini = Plugin.GetIni("Settings")
            ini.AddSetting("Items", "Metal Ore", "250")
            ini.AddSetting("Items", "Sulfur Ore", "250")
            ini.AddSetting("Items", "Leather", "250")
            ini.AddSetting("Items", "Cloth", "250")
            ini.AddSetting("Items", "Animal Fat", "250")
            ini.AddSetting("Items", "Low Grade Fuel", "250")
            ini.AddSetting("Items", "Workbench", "1")
            ini.AddSetting("Items", "Stone Hatchet", "1")
            ini.AddSetting("Items", "Furnace", "1")
            ini.AddSetting("Items", "Torch", "250")
            ini.AddSetting("Items", "Low Quality Metal", "250")
            ini.AddSetting("Items", "Metal Door", "5")
            ini.AddSetting("Items", "Large Wood Storage", "5")
            ini.AddSetting("Items", "Small Stash", "5")
            ini.AddSetting("Items", "Gunpowder", "250")
            ini.AddSetting("Items", "Sulfur", "250")
            ini.AddSetting("Items", "Wood Planks", "250")
            ini.AddSetting("Items", "Paper", "250")
            ini.AddSetting("Items", "Explosives", "250")
            ini.AddSetting("Items", "Bandage", "5")
            ini.AddSetting("Items", "Large Medkit", "5")
            ini.AddSetting("Items", "Small Medkit", "5")
            ini.AddSetting("Items", "Arrow", "10")
            ini.AddSetting("Items", "Handmade Shell", "250")
            ini.AddSetting("Items", "Shotgun Shells", "250")
            ini.AddSetting("Items", "556 Ammo", "250")
            ini.AddSetting("Items", "9mm Ammo", "250")
            ini.AddSetting("Items", "Explosive Charge", "5")
            ini.AddSetting("Items", "F1 Grenade", "10")
            ini.AddSetting("Items", "Flare", "10")
            ini.AddSetting("Items", "Research Kit 1", "1")
            ini.AddSetting("Items", "Cooked Chicken Breast", "250")
            ini.AddSetting("Items", "Anti-Radiation Pills", "250")
            ini.AddSetting("Items", "Wood", "250")
            ini.AddSetting("Items", "Wood Pillar", "250")
            ini.AddSetting("Items", "Wood Foundation", "250")
            ini.AddSetting("Items", "Wood Wall", "250")
            ini.AddSetting("Items", "Wood Doorway", "250")
            ini.AddSetting("Items", "Wood Window", "250")
            ini.AddSetting("Items", "Wood Stairs", "250")
            ini.AddSetting("Items", "Wood Ramp", "250")
            ini.AddSetting("Items", "Wood Ceiling", "250")
            ini.AddSetting("Items", "Metal Pillar", "250")
            ini.AddSetting("Items", "Metal Foundation", "250")
            ini.AddSetting("Items", "Metal Fragments", "250")
            ini.AddSetting("Items", "Metal Wall", "250")
            ini.AddSetting("Items", "Metal Doorway", "250")
            ini.AddSetting("Items", "Metal Window", "250")
            ini.AddSetting("Items", "Metal Stairs", "250")
            ini.AddSetting("Items", "Metal Ramp", "250")
            ini.AddSetting("Items", "Metal Ceiling", "250")
            ini.AddSetting("Items", "Metal Window Bars", "5")
            ini.Save()
        #Thanks to Snake for his help here
        ini = Plugin.GetIni("Settings")
        keys = ini.EnumSection("Items")
        for key in keys:
            ItemsBlocks.Find(key)._maxUses = int(ini.GetSetting("Items", key))
Any ideas? :p
I think those are rust++ values.

Try looping through all.

for block in ItemsBlocks:
Plugin.Log("List", str(block))
 

Jakkee

Plugin Developer
Plugin Developer
Contributor
Jul 28, 2014
1,465
922
113
Australia
I think those are rust++ values.

Try looping through all.

for block in ItemsBlocks:
Plugin.Log("List", str(block))
Code:
[2/27/2015 10:12 AM] Bolt Action Rifle (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Bolt Action Rifle Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 556 Ammo (AmmoItemDataBlock)
[2/27/2015 10:12 AM] 9mm Ammo (AmmoItemDataBlock)
[2/27/2015 10:12 AM] 556 Ammo Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 9mm Ammo Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Handmade Shell Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Shotgun Shells Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 556 Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 9mm Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Empty Shotgun Shell Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Primed 556 Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Primed 9mm Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Primed Shotgun Shell Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Empty 556 Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Empty 9mm Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Empty Shotgun Shell (ItemDataBlock)
[2/27/2015 10:12 AM] Primed 556 Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Primed 9mm Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Primed Shotgun Shell (ItemDataBlock)
[2/27/2015 10:12 AM] Handmade Shell (AmmoItemDataBlock)
[2/27/2015 10:12 AM] Shotgun Shells (AmmoItemDataBlock)
[2/27/2015 10:12 AM] Cloth Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Cloth Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Cloth Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Cloth Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Armor Part 1 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 2 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 3 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 4 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 5 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 6 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 7 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 1 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 2 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 3 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 4 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 5 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 6 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 7 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Rad Suit Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Rad Suit Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Rad Suit Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Arrow (AmmoItemDataBlock)
[2/27/2015 10:12 AM] Arrow Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Anti-Radiation Pills (ConsumableDataBlock)
[2/27/2015 10:12 AM] Can of Beans (ConsumableDataBlock)
[2/27/2015 10:12 AM] Can of Tuna (ConsumableDataBlock)
[2/27/2015 10:12 AM] Chocolate Bar (ConsumableDataBlock)
[2/27/2015 10:12 AM] Cooked Chicken Breast (ConsumableDataBlock)
[2/27/2015 10:12 AM] Granola Bar (ConsumableDataBlock)
[2/27/2015 10:12 AM] Raw Chicken Breast (ConsumableDataBlock)
[2/27/2015 10:12 AM] Small Rations (ConsumableDataBlock)
[2/27/2015 10:12 AM] Small Water Bottle (ConsumableDataBlock)
[2/27/2015 10:12 AM] Bed (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Bed Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Camp Fire Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Explosive Charge Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Furnace Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Spike Wall Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Wood Storage Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Door Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Window Bars Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Repair Bench Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Sleeping Bag Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Small Stash Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Spike Wall Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Barricade Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Gate Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Gateway Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Shelter Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Storage Box Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wooden Door Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Workbench Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Ceiling BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Doorway BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Foundation BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Pillar BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Ramp BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Stairs BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Wall BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Window BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Ceiling (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Doorway (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Foundation (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Pillar (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Ramp (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Stairs (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Wall (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Window (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Ceiling BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Doorway BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Foundation BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Pillar BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Ramp BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Stairs BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Wall BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Window BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Ceiling (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Doorway (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Foundation (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Pillar (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Ramp (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Stairs (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Wall (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Window (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Camp Fire (DeployableInventoryDataBlock)
[2/27/2015 10:12 AM] Explosive Charge (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Furnace (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Large Spike Wall (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Large Wood Storage (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Metal Door (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Metal Window Bars (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Repair Bench (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Sleeping Bag (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Small Stash (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Spike Wall (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Barricade (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Gate (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Gateway (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Shelter (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Storage Box (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wooden Door (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Workbench (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Explosives (GunpowderDataBlock)
[2/27/2015 10:12 AM] Gunpowder (GunpowderDataBlock)
[2/27/2015 10:12 AM] Bandage (BasicHealthKitDataBlock)
[2/27/2015 10:12 AM] Bandage Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Medkit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Small Medkit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Medkit (BasicHealthKitDataBlock)
[2/27/2015 10:12 AM] Small Medkit (BasicHealthKitDataBlock)
[2/27/2015 10:12 AM] Explosives Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Flare (TorchItemDataBlock)
[2/27/2015 10:12 AM] Flare Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Gunpowder Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Paper Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Torch (BasicTorchItemDataBlock)
[2/27/2015 10:12 AM] Torch Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Animal Fat (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Blood (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Low Grade Fuel Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Low Quality Metal Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Planks Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Charcoal (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Cloth (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Leather (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Low Grade Fuel (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Low Quality Metal (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Metal Fragments (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Metal Ore (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Paper (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Stones (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Sulfur (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Sulfur Ore (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Wood (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Wood Planks (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Blood Draw Kit (BloodDrawDatablock)
[2/27/2015 10:12 AM] Blood Draw Kit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Handmade Lockpick Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Research Kit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Handmade Lockpick (LockpickItemDataBlock)
[2/27/2015 10:12 AM] Recycle Kit 1 (RecycleToolDataBlock)
[2/27/2015 10:12 AM] Research Kit 1 (ResearchToolDataBlock)
[2/27/2015 10:12 AM] 9mm Pistol (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] 9mm Pistol Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] F1 Grenade Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Hatchet Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Hunting Bow Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] M4 Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] MP5A4 Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] P250 Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Pick Axe Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Shotgun Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Stone Hatchet Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] F1 Grenade (HandGrenadeDataBlock)
[2/27/2015 10:12 AM] Hatchet (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Hunting Bow (BowWeaponDataBlock)
[2/27/2015 10:12 AM] M4 (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Flashlight Mod BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Holo sight BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Laser Sight BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Silencer BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Flashlight Mod (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] Holo sight (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] Laser Sight (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] Silencer (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] MP5A4 (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] P250 (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Weapon Part 1 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 2 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 3 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 4 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 5 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 6 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 7 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 1 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 2 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 3 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 4 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 5 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 6 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 7 (ItemDataBlock)
[2/27/2015 10:12 AM] Pick Axe (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Rock (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Shotgun (ShotgunDataBlock)
[2/27/2015 10:12 AM] Stone Hatchet (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Supply Signal (HandGrenadeDataBlock)
[2/27/2015 10:12 AM] Uber Hatchet (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Uber Hunting Bow (BowWeaponDataBlock)
[2/27/2015 10:12 AM] HandCannon (StrikeGunDataBlock)
[2/27/2015 10:12 AM] HandCannon Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Pipe Shotgun (ShotgunDataBlock)
[2/27/2015 10:12 AM] Pipe Shotgun Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Revolver (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Revolver Blueprint (BlueprintDataBlock)
I've also done this to get the max of each item:
Python:
for block in ItemsBlocks:
    if not Plugin.IniExists("Log"):
         Plugin.CreateIni("Log")
         ini = Plugin.GetIni("Log")
         ini.Save()
      ini = Plugin.GetIni("Log")
      ini.AddSetting("Items", str(block), str(block._maxUses))
      ini.Save()
and heres the result:
INI:
[Items]
Bolt Action Rifle (BulletWeaponDataBlock)=3
Bolt Action Rifle Blueprint (BlueprintDataBlock)=1
556 Ammo (AmmoItemDataBlock)=250
9mm Ammo (AmmoItemDataBlock)=250
556 Ammo Blueprint (BlueprintDataBlock)=1
9mm Ammo Blueprint (BlueprintDataBlock)=1
Handmade Shell Blueprint (BlueprintDataBlock)=1
Shotgun Shells Blueprint (BlueprintDataBlock)=1
556 Casing Blueprint (BlueprintDataBlock)=1
9mm Casing Blueprint (BlueprintDataBlock)=1
Empty Shotgun Shell Blueprint (BlueprintDataBlock)=1
Primed 556 Casing Blueprint (BlueprintDataBlock)=1
Primed 9mm Casing Blueprint (BlueprintDataBlock)=1
Primed Shotgun Shell Blueprint (BlueprintDataBlock)=1
Empty 556 Casing (ItemDataBlock)=250
Empty 9mm Casing (ItemDataBlock)=250
Empty Shotgun Shell (ItemDataBlock)=250
Primed 556 Casing (ItemDataBlock)=250
Primed 9mm Casing (ItemDataBlock)=250
Primed Shotgun Shell (ItemDataBlock)=250
Handmade Shell (AmmoItemDataBlock)=250
Shotgun Shells (AmmoItemDataBlock)=250
Cloth Boots BP (BlueprintDataBlock)=1
Cloth Helmet BP (BlueprintDataBlock)=1
Cloth Pants BP (BlueprintDataBlock)=1
Cloth Vest BP (BlueprintDataBlock)=1
Kevlar Boots BP (BlueprintDataBlock)=1
Kevlar Helmet BP (BlueprintDataBlock)=1
Kevlar Pants BP (BlueprintDataBlock)=1
Kevlar Vest BP (BlueprintDataBlock)=1
Leather Boots BP (BlueprintDataBlock)=1
Leather Helmet BP (BlueprintDataBlock)=1
Leather Pants BP (BlueprintDataBlock)=1
Leather Vest BP (BlueprintDataBlock)=1
Rad Suit Boots BP (BlueprintDataBlock)=1
Rad Suit Helmet BP (BlueprintDataBlock)=1
Rad Suit Pants BP (BlueprintDataBlock)=1
Rad Suit Vest BP (BlueprintDataBlock)=1
Cloth Boots (ArmorDataBlock)=1
Cloth Helmet (ArmorDataBlock)=1
Cloth Pants (ArmorDataBlock)=1
Cloth Vest (ArmorDataBlock)=1
Invisible Boots (ArmorDataBlock)=1
Invisible Helmet (ArmorDataBlock)=1
Invisible Pants (ArmorDataBlock)=1
Invisible Vest (ArmorDataBlock)=1
Kevlar Boots (ArmorDataBlock)=1
Kevlar Helmet (ArmorDataBlock)=1
Kevlar Pants (ArmorDataBlock)=1
Kevlar Vest (ArmorDataBlock)=1
Leather Boots (ArmorDataBlock)=1
Leather Helmet (ArmorDataBlock)=1
Leather Pants (ArmorDataBlock)=1
Leather Vest (ArmorDataBlock)=1
Armor Part 1 (ItemDataBlock)=12
Armor Part 2 (ItemDataBlock)=12
Armor Part 3 (ItemDataBlock)=12
Armor Part 4 (ItemDataBlock)=12
Armor Part 5 (ItemDataBlock)=12
Armor Part 6 (ItemDataBlock)=12
Armor Part 7 (ItemDataBlock)=12
Armor Part 1 BP (BlueprintDataBlock)=1
Armor Part 2 BP (BlueprintDataBlock)=1
Armor Part 3 BP (BlueprintDataBlock)=1
Armor Part 4 BP (BlueprintDataBlock)=1
Armor Part 5 BP (BlueprintDataBlock)=1
Armor Part 6 BP (BlueprintDataBlock)=1
Armor Part 7 BP (BlueprintDataBlock)=1
Rad Suit Boots (ArmorDataBlock)=1
Rad Suit Helmet (ArmorDataBlock)=1
Rad Suit Pants (ArmorDataBlock)=1
Rad Suit Vest (ArmorDataBlock)=1
Arrow (AmmoItemDataBlock)=10
Arrow Blueprint (BlueprintDataBlock)=1
Anti-Radiation Pills (ConsumableDataBlock)=250
Can of Beans (ConsumableDataBlock)=250
Can of Tuna (ConsumableDataBlock)=250
Chocolate Bar (ConsumableDataBlock)=250
Cooked Chicken Breast (ConsumableDataBlock)=250
Granola Bar (ConsumableDataBlock)=250
Raw Chicken Breast (ConsumableDataBlock)=250
Small Rations (ConsumableDataBlock)=250
Small Water Bottle (ConsumableDataBlock)=250
Bed (DeployableItemDataBlock)=1
Bed Blueprint (BlueprintDataBlock)=1
Camp Fire Blueprint (BlueprintDataBlock)=1
Explosive Charge Blueprint (BlueprintDataBlock)=1
Furnace Blueprint (BlueprintDataBlock)=1
Large Spike Wall Blueprint (BlueprintDataBlock)=1
Large Wood Storage Blueprint (BlueprintDataBlock)=1
Metal Door Blueprint (BlueprintDataBlock)=1
Metal Window Bars Blueprint (BlueprintDataBlock)=1
Repair Bench Blueprint (BlueprintDataBlock)=1
Sleeping Bag Blueprint (BlueprintDataBlock)=1
Small Stash Blueprint (BlueprintDataBlock)=1
Spike Wall Blueprint (BlueprintDataBlock)=1
Wood Barricade Blueprint (BlueprintDataBlock)=1
Wood Gate Blueprint (BlueprintDataBlock)=1
Wood Gateway Blueprint (BlueprintDataBlock)=1
Wood Shelter Blueprint (BlueprintDataBlock)=1
Wood Storage Box Blueprint (BlueprintDataBlock)=1
Wooden Door Blueprint (BlueprintDataBlock)=1
Workbench Blueprint (BlueprintDataBlock)=1
Metal Ceiling BP (BlueprintDataBlock)=1
Metal Doorway BP (BlueprintDataBlock)=1
Metal Foundation BP (BlueprintDataBlock)=1
Metal Pillar BP (BlueprintDataBlock)=1
Metal Ramp BP (BlueprintDataBlock)=1
Metal Stairs BP (BlueprintDataBlock)=1
Metal Wall BP (BlueprintDataBlock)=1
Metal Window BP (BlueprintDataBlock)=1
Metal Ceiling (StructureComponentDataBlock)=250
Metal Doorway (StructureComponentDataBlock)=250
Metal Foundation (StructureComponentDataBlock)=250
Metal Pillar (StructureComponentDataBlock)=250
Metal Ramp (StructureComponentDataBlock)=250
Metal Stairs (StructureComponentDataBlock)=250
Metal Wall (StructureComponentDataBlock)=250
Metal Window (StructureComponentDataBlock)=250
Wood Ceiling BP (BlueprintDataBlock)=1
Wood Doorway BP (BlueprintDataBlock)=1
Wood Foundation BP (BlueprintDataBlock)=1
Wood Pillar BP (BlueprintDataBlock)=1
Wood Ramp BP (BlueprintDataBlock)=1
Wood Stairs BP (BlueprintDataBlock)=1
Wood Wall BP (BlueprintDataBlock)=1
Wood Window BP (BlueprintDataBlock)=1
Wood Ceiling (StructureComponentDataBlock)=250
Wood Doorway (StructureComponentDataBlock)=250
Wood Foundation (StructureComponentDataBlock)=250
Wood Pillar (StructureComponentDataBlock)=250
Wood Ramp (StructureComponentDataBlock)=250
Wood Stairs (StructureComponentDataBlock)=250
Wood Wall (StructureComponentDataBlock)=250
Wood Window (StructureComponentDataBlock)=250
Camp Fire (DeployableInventoryDataBlock)=250
Explosive Charge (DeployableItemDataBlock)=5
Furnace (DeployableItemDataBlock)=1
Large Spike Wall (DeployableItemDataBlock)=1
Large Wood Storage (DeployableItemDataBlock)=5
Metal Door (DeployableItemDataBlock)=5
Metal Window Bars (DeployableItemDataBlock)=5
Repair Bench (DeployableItemDataBlock)=1
Sleeping Bag (DeployableItemDataBlock)=250
Small Stash (DeployableItemDataBlock)=5
Spike Wall (DeployableItemDataBlock)=1
Wood Barricade (DeployableItemDataBlock)=250
Wood Gate (DeployableItemDataBlock)=1
Wood Gateway (DeployableItemDataBlock)=1
Wood Shelter (DeployableItemDataBlock)=5
Wood Storage Box (DeployableItemDataBlock)=5
Wooden Door (DeployableItemDataBlock)=5
Workbench (DeployableItemDataBlock)=1
Explosives (GunpowderDataBlock)=250
Gunpowder (GunpowderDataBlock)=250
Bandage (BasicHealthKitDataBlock)=5
Bandage Blueprint (BlueprintDataBlock)=1
Large Medkit Blueprint (BlueprintDataBlock)=1
Small Medkit Blueprint (BlueprintDataBlock)=1
Large Medkit (BasicHealthKitDataBlock)=5
Small Medkit (BasicHealthKitDataBlock)=5
Explosives Blueprint (BlueprintDataBlock)=1
Flare (TorchItemDataBlock)=10
Flare Blueprint (BlueprintDataBlock)=1
Gunpowder Blueprint (BlueprintDataBlock)=1
Paper Blueprint (BlueprintDataBlock)=1
Torch (BasicTorchItemDataBlock)=250
Torch Blueprint (BlueprintDataBlock)=1
Animal Fat (ResourceTypeItemDataBlock)=250
Blood (ResourceTypeItemDataBlock)=250
Low Grade Fuel Blueprint (BlueprintDataBlock)=1
Low Quality Metal Blueprint (BlueprintDataBlock)=1
Wood Planks Blueprint (BlueprintDataBlock)=1
Charcoal (ResourceTypeItemDataBlock)=250
Cloth (ResourceTypeItemDataBlock)=250
Leather (ResourceTypeItemDataBlock)=250
Low Grade Fuel (ResourceTypeItemDataBlock)=250
Low Quality Metal (ResourceTypeItemDataBlock)=250
Metal Fragments (ResourceTypeItemDataBlock)=250
Metal Ore (ResourceTypeItemDataBlock)=250
Paper (ResourceTypeItemDataBlock)=250
Stones (ResourceTypeItemDataBlock)=250
Sulfur (ResourceTypeItemDataBlock)=250
Sulfur Ore (ResourceTypeItemDataBlock)=250
Wood (ResourceTypeItemDataBlock)=250
Wood Planks (ResourceTypeItemDataBlock)=250
Blood Draw Kit (BloodDrawDatablock)=1
Blood Draw Kit Blueprint (BlueprintDataBlock)=1
Handmade Lockpick Blueprint (BlueprintDataBlock)=1
Research Kit Blueprint (BlueprintDataBlock)=1
Handmade Lockpick (LockpickItemDataBlock)=1
Recycle Kit 1 (RecycleToolDataBlock)=1
Research Kit 1 (ResearchToolDataBlock)=3
9mm Pistol (BulletWeaponDataBlock)=12
9mm Pistol Blueprint (BlueprintDataBlock)=1
F1 Grenade Blueprint (BlueprintDataBlock)=1
Hatchet Blueprint (BlueprintDataBlock)=1
Hunting Bow Blueprint (BlueprintDataBlock)=1
M4 Blueprint (BlueprintDataBlock)=1
MP5A4 Blueprint (BlueprintDataBlock)=1
P250 Blueprint (BlueprintDataBlock)=1
Pick Axe Blueprint (BlueprintDataBlock)=1
Shotgun Blueprint (BlueprintDataBlock)=1
Stone Hatchet Blueprint (BlueprintDataBlock)=1
F1 Grenade (HandGrenadeDataBlock)=5
Hatchet (MeleeWeaponDataBlock)=1
Hunting Bow (BowWeaponDataBlock)=1
M4 (BulletWeaponDataBlock)=24
Flashlight Mod BP (BlueprintDataBlock)=1
Holo sight BP (BlueprintDataBlock)=1
Laser Sight BP (BlueprintDataBlock)=1
Silencer BP (BlueprintDataBlock)=1
Flashlight Mod (BaseWeaponModDataBlock)=1
Holo sight (BaseWeaponModDataBlock)=1
Laser Sight (BaseWeaponModDataBlock)=1
Silencer (BaseWeaponModDataBlock)=1
MP5A4 (BulletWeaponDataBlock)=30
P250 (BulletWeaponDataBlock)=8
Weapon Part 1 BP (BlueprintDataBlock)=1
Weapon Part 2 BP (BlueprintDataBlock)=1
Weapon Part 3 BP (BlueprintDataBlock)=1
Weapon Part 4 BP (BlueprintDataBlock)=1
Weapon Part 5 BP (BlueprintDataBlock)=1
Weapon Part 6 BP (BlueprintDataBlock)=1
Weapon Part 7 BP (BlueprintDataBlock)=1
Weapon Part 1 (ItemDataBlock)=12
Weapon Part 2 (ItemDataBlock)=12
Weapon Part 3 (ItemDataBlock)=12
Weapon Part 4 (ItemDataBlock)=12
Weapon Part 5 (ItemDataBlock)=12
Weapon Part 6 (ItemDataBlock)=12
Weapon Part 7 (ItemDataBlock)=12
Pick Axe (MeleeWeaponDataBlock)=1
Rock (MeleeWeaponDataBlock)=1
Shotgun (ShotgunDataBlock)=8
Stone Hatchet (MeleeWeaponDataBlock)=1
Supply Signal (HandGrenadeDataBlock)=1
Uber Hatchet (MeleeWeaponDataBlock)=1
Uber Hunting Bow (BowWeaponDataBlock)=1
HandCannon (StrikeGunDataBlock)=1
HandCannon Blueprint (BlueprintDataBlock)=1
Pipe Shotgun (ShotgunDataBlock)=1
Pipe Shotgun Blueprint (BlueprintDataBlock)=1
Revolver (BulletWeaponDataBlock)=8
Revolver Blueprint (BlueprintDataBlock)=1
 
Last edited by a moderator:

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
4,462
113
At your house.
github.com
Code:
[2/27/2015 10:12 AM] Bolt Action Rifle (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Bolt Action Rifle Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 556 Ammo (AmmoItemDataBlock)
[2/27/2015 10:12 AM] 9mm Ammo (AmmoItemDataBlock)
[2/27/2015 10:12 AM] 556 Ammo Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 9mm Ammo Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Handmade Shell Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Shotgun Shells Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 556 Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] 9mm Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Empty Shotgun Shell Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Primed 556 Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Primed 9mm Casing Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Primed Shotgun Shell Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Empty 556 Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Empty 9mm Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Empty Shotgun Shell (ItemDataBlock)
[2/27/2015 10:12 AM] Primed 556 Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Primed 9mm Casing (ItemDataBlock)
[2/27/2015 10:12 AM] Primed Shotgun Shell (ItemDataBlock)
[2/27/2015 10:12 AM] Handmade Shell (AmmoItemDataBlock)
[2/27/2015 10:12 AM] Shotgun Shells (AmmoItemDataBlock)
[2/27/2015 10:12 AM] Cloth Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Kevlar Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Leather Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Boots BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Helmet BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Pants BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Vest BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Cloth Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Cloth Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Cloth Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Cloth Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Invisible Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Kevlar Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Leather Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Armor Part 1 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 2 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 3 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 4 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 5 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 6 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 7 (ItemDataBlock)
[2/27/2015 10:12 AM] Armor Part 1 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 2 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 3 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 4 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 5 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 6 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Armor Part 7 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Rad Suit Boots (ArmorDataBlock)
[2/27/2015 10:12 AM] Rad Suit Helmet (ArmorDataBlock)
[2/27/2015 10:12 AM] Rad Suit Pants (ArmorDataBlock)
[2/27/2015 10:12 AM] Rad Suit Vest (ArmorDataBlock)
[2/27/2015 10:12 AM] Arrow (AmmoItemDataBlock)
[2/27/2015 10:12 AM] Arrow Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Anti-Radiation Pills (ConsumableDataBlock)
[2/27/2015 10:12 AM] Can of Beans (ConsumableDataBlock)
[2/27/2015 10:12 AM] Can of Tuna (ConsumableDataBlock)
[2/27/2015 10:12 AM] Chocolate Bar (ConsumableDataBlock)
[2/27/2015 10:12 AM] Cooked Chicken Breast (ConsumableDataBlock)
[2/27/2015 10:12 AM] Granola Bar (ConsumableDataBlock)
[2/27/2015 10:12 AM] Raw Chicken Breast (ConsumableDataBlock)
[2/27/2015 10:12 AM] Small Rations (ConsumableDataBlock)
[2/27/2015 10:12 AM] Small Water Bottle (ConsumableDataBlock)
[2/27/2015 10:12 AM] Bed (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Bed Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Camp Fire Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Explosive Charge Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Furnace Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Spike Wall Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Wood Storage Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Door Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Window Bars Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Repair Bench Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Sleeping Bag Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Small Stash Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Spike Wall Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Barricade Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Gate Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Gateway Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Shelter Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Storage Box Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wooden Door Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Workbench Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Ceiling BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Doorway BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Foundation BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Pillar BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Ramp BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Stairs BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Wall BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Window BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Metal Ceiling (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Doorway (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Foundation (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Pillar (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Ramp (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Stairs (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Wall (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Metal Window (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Ceiling BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Doorway BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Foundation BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Pillar BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Ramp BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Stairs BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Wall BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Window BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Ceiling (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Doorway (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Foundation (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Pillar (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Ramp (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Stairs (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Wall (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Wood Window (StructureComponentDataBlock)
[2/27/2015 10:12 AM] Camp Fire (DeployableInventoryDataBlock)
[2/27/2015 10:12 AM] Explosive Charge (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Furnace (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Large Spike Wall (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Large Wood Storage (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Metal Door (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Metal Window Bars (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Repair Bench (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Sleeping Bag (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Small Stash (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Spike Wall (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Barricade (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Gate (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Gateway (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Shelter (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wood Storage Box (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Wooden Door (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Workbench (DeployableItemDataBlock)
[2/27/2015 10:12 AM] Explosives (GunpowderDataBlock)
[2/27/2015 10:12 AM] Gunpowder (GunpowderDataBlock)
[2/27/2015 10:12 AM] Bandage (BasicHealthKitDataBlock)
[2/27/2015 10:12 AM] Bandage Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Medkit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Small Medkit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Large Medkit (BasicHealthKitDataBlock)
[2/27/2015 10:12 AM] Small Medkit (BasicHealthKitDataBlock)
[2/27/2015 10:12 AM] Explosives Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Flare (TorchItemDataBlock)
[2/27/2015 10:12 AM] Flare Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Gunpowder Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Paper Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Torch (BasicTorchItemDataBlock)
[2/27/2015 10:12 AM] Torch Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Animal Fat (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Blood (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Low Grade Fuel Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Low Quality Metal Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Wood Planks Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Charcoal (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Cloth (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Leather (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Low Grade Fuel (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Low Quality Metal (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Metal Fragments (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Metal Ore (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Paper (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Stones (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Sulfur (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Sulfur Ore (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Wood (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Wood Planks (ResourceTypeItemDataBlock)
[2/27/2015 10:12 AM] Blood Draw Kit (BloodDrawDatablock)
[2/27/2015 10:12 AM] Blood Draw Kit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Handmade Lockpick Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Research Kit Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Handmade Lockpick (LockpickItemDataBlock)
[2/27/2015 10:12 AM] Recycle Kit 1 (RecycleToolDataBlock)
[2/27/2015 10:12 AM] Research Kit 1 (ResearchToolDataBlock)
[2/27/2015 10:12 AM] 9mm Pistol (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] 9mm Pistol Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] F1 Grenade Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Hatchet Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Hunting Bow Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] M4 Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] MP5A4 Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] P250 Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Pick Axe Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Shotgun Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Stone Hatchet Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] F1 Grenade (HandGrenadeDataBlock)
[2/27/2015 10:12 AM] Hatchet (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Hunting Bow (BowWeaponDataBlock)
[2/27/2015 10:12 AM] M4 (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Flashlight Mod BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Holo sight BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Laser Sight BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Silencer BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Flashlight Mod (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] Holo sight (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] Laser Sight (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] Silencer (BaseWeaponModDataBlock)
[2/27/2015 10:12 AM] MP5A4 (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] P250 (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Weapon Part 1 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 2 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 3 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 4 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 5 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 6 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 7 BP (BlueprintDataBlock)
[2/27/2015 10:12 AM] Weapon Part 1 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 2 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 3 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 4 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 5 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 6 (ItemDataBlock)
[2/27/2015 10:12 AM] Weapon Part 7 (ItemDataBlock)
[2/27/2015 10:12 AM] Pick Axe (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Rock (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Shotgun (ShotgunDataBlock)
[2/27/2015 10:12 AM] Stone Hatchet (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Supply Signal (HandGrenadeDataBlock)
[2/27/2015 10:12 AM] Uber Hatchet (MeleeWeaponDataBlock)
[2/27/2015 10:12 AM] Uber Hunting Bow (BowWeaponDataBlock)
[2/27/2015 10:12 AM] HandCannon (StrikeGunDataBlock)
[2/27/2015 10:12 AM] HandCannon Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Pipe Shotgun (ShotgunDataBlock)
[2/27/2015 10:12 AM] Pipe Shotgun Blueprint (BlueprintDataBlock)
[2/27/2015 10:12 AM] Revolver (BulletWeaponDataBlock)
[2/27/2015 10:12 AM] Revolver Blueprint (BlueprintDataBlock)
I've also done this to get the max of each item:
Python:
for block in ItemsBlocks:
    if not Plugin.IniExists("Log"):
         Plugin.CreateIni("Log")
         ini = Plugin.GetIni("Log")
         ini.Save()
      ini = Plugin.GetIni("Log")
      ini.AddSetting("Items", str(block), str(block._maxUses))
      ini.Save()
and heres the result:
Code:
[Items]
Bolt Action Rifle (BulletWeaponDataBlock)=3
Bolt Action Rifle Blueprint (BlueprintDataBlock)=1
556 Ammo (AmmoItemDataBlock)=250
9mm Ammo (AmmoItemDataBlock)=250
556 Ammo Blueprint (BlueprintDataBlock)=1
9mm Ammo Blueprint (BlueprintDataBlock)=1
Handmade Shell Blueprint (BlueprintDataBlock)=1
Shotgun Shells Blueprint (BlueprintDataBlock)=1
556 Casing Blueprint (BlueprintDataBlock)=1
9mm Casing Blueprint (BlueprintDataBlock)=1
Empty Shotgun Shell Blueprint (BlueprintDataBlock)=1
Primed 556 Casing Blueprint (BlueprintDataBlock)=1
Primed 9mm Casing Blueprint (BlueprintDataBlock)=1
Primed Shotgun Shell Blueprint (BlueprintDataBlock)=1
Empty 556 Casing (ItemDataBlock)=250
Empty 9mm Casing (ItemDataBlock)=250
Empty Shotgun Shell (ItemDataBlock)=250
Primed 556 Casing (ItemDataBlock)=250
Primed 9mm Casing (ItemDataBlock)=250
Primed Shotgun Shell (ItemDataBlock)=250
Handmade Shell (AmmoItemDataBlock)=250
Shotgun Shells (AmmoItemDataBlock)=250
Cloth Boots BP (BlueprintDataBlock)=1
Cloth Helmet BP (BlueprintDataBlock)=1
Cloth Pants BP (BlueprintDataBlock)=1
Cloth Vest BP (BlueprintDataBlock)=1
Kevlar Boots BP (BlueprintDataBlock)=1
Kevlar Helmet BP (BlueprintDataBlock)=1
Kevlar Pants BP (BlueprintDataBlock)=1
Kevlar Vest BP (BlueprintDataBlock)=1
Leather Boots BP (BlueprintDataBlock)=1
Leather Helmet BP (BlueprintDataBlock)=1
Leather Pants BP (BlueprintDataBlock)=1
Leather Vest BP (BlueprintDataBlock)=1
Rad Suit Boots BP (BlueprintDataBlock)=1
Rad Suit Helmet BP (BlueprintDataBlock)=1
Rad Suit Pants BP (BlueprintDataBlock)=1
Rad Suit Vest BP (BlueprintDataBlock)=1
Cloth Boots (ArmorDataBlock)=1
Cloth Helmet (ArmorDataBlock)=1
Cloth Pants (ArmorDataBlock)=1
Cloth Vest (ArmorDataBlock)=1
Invisible Boots (ArmorDataBlock)=1
Invisible Helmet (ArmorDataBlock)=1
Invisible Pants (ArmorDataBlock)=1
Invisible Vest (ArmorDataBlock)=1
Kevlar Boots (ArmorDataBlock)=1
Kevlar Helmet (ArmorDataBlock)=1
Kevlar Pants (ArmorDataBlock)=1
Kevlar Vest (ArmorDataBlock)=1
Leather Boots (ArmorDataBlock)=1
Leather Helmet (ArmorDataBlock)=1
Leather Pants (ArmorDataBlock)=1
Leather Vest (ArmorDataBlock)=1
Armor Part 1 (ItemDataBlock)=12
Armor Part 2 (ItemDataBlock)=12
Armor Part 3 (ItemDataBlock)=12
Armor Part 4 (ItemDataBlock)=12
Armor Part 5 (ItemDataBlock)=12
Armor Part 6 (ItemDataBlock)=12
Armor Part 7 (ItemDataBlock)=12
Armor Part 1 BP (BlueprintDataBlock)=1
Armor Part 2 BP (BlueprintDataBlock)=1
Armor Part 3 BP (BlueprintDataBlock)=1
Armor Part 4 BP (BlueprintDataBlock)=1
Armor Part 5 BP (BlueprintDataBlock)=1
Armor Part 6 BP (BlueprintDataBlock)=1
Armor Part 7 BP (BlueprintDataBlock)=1
Rad Suit Boots (ArmorDataBlock)=1
Rad Suit Helmet (ArmorDataBlock)=1
Rad Suit Pants (ArmorDataBlock)=1
Rad Suit Vest (ArmorDataBlock)=1
Arrow (AmmoItemDataBlock)=10
Arrow Blueprint (BlueprintDataBlock)=1
Anti-Radiation Pills (ConsumableDataBlock)=250
Can of Beans (ConsumableDataBlock)=250
Can of Tuna (ConsumableDataBlock)=250
Chocolate Bar (ConsumableDataBlock)=250
Cooked Chicken Breast (ConsumableDataBlock)=250
Granola Bar (ConsumableDataBlock)=250
Raw Chicken Breast (ConsumableDataBlock)=250
Small Rations (ConsumableDataBlock)=250
Small Water Bottle (ConsumableDataBlock)=250
Bed (DeployableItemDataBlock)=1
Bed Blueprint (BlueprintDataBlock)=1
Camp Fire Blueprint (BlueprintDataBlock)=1
Explosive Charge Blueprint (BlueprintDataBlock)=1
Furnace Blueprint (BlueprintDataBlock)=1
Large Spike Wall Blueprint (BlueprintDataBlock)=1
Large Wood Storage Blueprint (BlueprintDataBlock)=1
Metal Door Blueprint (BlueprintDataBlock)=1
Metal Window Bars Blueprint (BlueprintDataBlock)=1
Repair Bench Blueprint (BlueprintDataBlock)=1
Sleeping Bag Blueprint (BlueprintDataBlock)=1
Small Stash Blueprint (BlueprintDataBlock)=1
Spike Wall Blueprint (BlueprintDataBlock)=1
Wood Barricade Blueprint (BlueprintDataBlock)=1
Wood Gate Blueprint (BlueprintDataBlock)=1
Wood Gateway Blueprint (BlueprintDataBlock)=1
Wood Shelter Blueprint (BlueprintDataBlock)=1
Wood Storage Box Blueprint (BlueprintDataBlock)=1
Wooden Door Blueprint (BlueprintDataBlock)=1
Workbench Blueprint (BlueprintDataBlock)=1
Metal Ceiling BP (BlueprintDataBlock)=1
Metal Doorway BP (BlueprintDataBlock)=1
Metal Foundation BP (BlueprintDataBlock)=1
Metal Pillar BP (BlueprintDataBlock)=1
Metal Ramp BP (BlueprintDataBlock)=1
Metal Stairs BP (BlueprintDataBlock)=1
Metal Wall BP (BlueprintDataBlock)=1
Metal Window BP (BlueprintDataBlock)=1
Metal Ceiling (StructureComponentDataBlock)=250
Metal Doorway (StructureComponentDataBlock)=250
Metal Foundation (StructureComponentDataBlock)=250
Metal Pillar (StructureComponentDataBlock)=250
Metal Ramp (StructureComponentDataBlock)=250
Metal Stairs (StructureComponentDataBlock)=250
Metal Wall (StructureComponentDataBlock)=250
Metal Window (StructureComponentDataBlock)=250
Wood Ceiling BP (BlueprintDataBlock)=1
Wood Doorway BP (BlueprintDataBlock)=1
Wood Foundation BP (BlueprintDataBlock)=1
Wood Pillar BP (BlueprintDataBlock)=1
Wood Ramp BP (BlueprintDataBlock)=1
Wood Stairs BP (BlueprintDataBlock)=1
Wood Wall BP (BlueprintDataBlock)=1
Wood Window BP (BlueprintDataBlock)=1
Wood Ceiling (StructureComponentDataBlock)=250
Wood Doorway (StructureComponentDataBlock)=250
Wood Foundation (StructureComponentDataBlock)=250
Wood Pillar (StructureComponentDataBlock)=250
Wood Ramp (StructureComponentDataBlock)=250
Wood Stairs (StructureComponentDataBlock)=250
Wood Wall (StructureComponentDataBlock)=250
Wood Window (StructureComponentDataBlock)=250
Camp Fire (DeployableInventoryDataBlock)=250
Explosive Charge (DeployableItemDataBlock)=5
Furnace (DeployableItemDataBlock)=1
Large Spike Wall (DeployableItemDataBlock)=1
Large Wood Storage (DeployableItemDataBlock)=5
Metal Door (DeployableItemDataBlock)=5
Metal Window Bars (DeployableItemDataBlock)=5
Repair Bench (DeployableItemDataBlock)=1
Sleeping Bag (DeployableItemDataBlock)=250
Small Stash (DeployableItemDataBlock)=5
Spike Wall (DeployableItemDataBlock)=1
Wood Barricade (DeployableItemDataBlock)=250
Wood Gate (DeployableItemDataBlock)=1
Wood Gateway (DeployableItemDataBlock)=1
Wood Shelter (DeployableItemDataBlock)=5
Wood Storage Box (DeployableItemDataBlock)=5
Wooden Door (DeployableItemDataBlock)=5
Workbench (DeployableItemDataBlock)=1
Explosives (GunpowderDataBlock)=250
Gunpowder (GunpowderDataBlock)=250
Bandage (BasicHealthKitDataBlock)=5
Bandage Blueprint (BlueprintDataBlock)=1
Large Medkit Blueprint (BlueprintDataBlock)=1
Small Medkit Blueprint (BlueprintDataBlock)=1
Large Medkit (BasicHealthKitDataBlock)=5
Small Medkit (BasicHealthKitDataBlock)=5
Explosives Blueprint (BlueprintDataBlock)=1
Flare (TorchItemDataBlock)=10
Flare Blueprint (BlueprintDataBlock)=1
Gunpowder Blueprint (BlueprintDataBlock)=1
Paper Blueprint (BlueprintDataBlock)=1
Torch (BasicTorchItemDataBlock)=250
Torch Blueprint (BlueprintDataBlock)=1
Animal Fat (ResourceTypeItemDataBlock)=250
Blood (ResourceTypeItemDataBlock)=250
Low Grade Fuel Blueprint (BlueprintDataBlock)=1
Low Quality Metal Blueprint (BlueprintDataBlock)=1
Wood Planks Blueprint (BlueprintDataBlock)=1
Charcoal (ResourceTypeItemDataBlock)=250
Cloth (ResourceTypeItemDataBlock)=250
Leather (ResourceTypeItemDataBlock)=250
Low Grade Fuel (ResourceTypeItemDataBlock)=250
Low Quality Metal (ResourceTypeItemDataBlock)=250
Metal Fragments (ResourceTypeItemDataBlock)=250
Metal Ore (ResourceTypeItemDataBlock)=250
Paper (ResourceTypeItemDataBlock)=250
Stones (ResourceTypeItemDataBlock)=250
Sulfur (ResourceTypeItemDataBlock)=250
Sulfur Ore (ResourceTypeItemDataBlock)=250
Wood (ResourceTypeItemDataBlock)=250
Wood Planks (ResourceTypeItemDataBlock)=250
Blood Draw Kit (BloodDrawDatablock)=1
Blood Draw Kit Blueprint (BlueprintDataBlock)=1
Handmade Lockpick Blueprint (BlueprintDataBlock)=1
Research Kit Blueprint (BlueprintDataBlock)=1
Handmade Lockpick (LockpickItemDataBlock)=1
Recycle Kit 1 (RecycleToolDataBlock)=1
Research Kit 1 (ResearchToolDataBlock)=3
9mm Pistol (BulletWeaponDataBlock)=12
9mm Pistol Blueprint (BlueprintDataBlock)=1
F1 Grenade Blueprint (BlueprintDataBlock)=1
Hatchet Blueprint (BlueprintDataBlock)=1
Hunting Bow Blueprint (BlueprintDataBlock)=1
M4 Blueprint (BlueprintDataBlock)=1
MP5A4 Blueprint (BlueprintDataBlock)=1
P250 Blueprint (BlueprintDataBlock)=1
Pick Axe Blueprint (BlueprintDataBlock)=1
Shotgun Blueprint (BlueprintDataBlock)=1
Stone Hatchet Blueprint (BlueprintDataBlock)=1
F1 Grenade (HandGrenadeDataBlock)=5
Hatchet (MeleeWeaponDataBlock)=1
Hunting Bow (BowWeaponDataBlock)=1
M4 (BulletWeaponDataBlock)=24
Flashlight Mod BP (BlueprintDataBlock)=1
Holo sight BP (BlueprintDataBlock)=1
Laser Sight BP (BlueprintDataBlock)=1
Silencer BP (BlueprintDataBlock)=1
Flashlight Mod (BaseWeaponModDataBlock)=1
Holo sight (BaseWeaponModDataBlock)=1
Laser Sight (BaseWeaponModDataBlock)=1
Silencer (BaseWeaponModDataBlock)=1
MP5A4 (BulletWeaponDataBlock)=30
P250 (BulletWeaponDataBlock)=8
Weapon Part 1 BP (BlueprintDataBlock)=1
Weapon Part 2 BP (BlueprintDataBlock)=1
Weapon Part 3 BP (BlueprintDataBlock)=1
Weapon Part 4 BP (BlueprintDataBlock)=1
Weapon Part 5 BP (BlueprintDataBlock)=1
Weapon Part 6 BP (BlueprintDataBlock)=1
Weapon Part 7 BP (BlueprintDataBlock)=1
Weapon Part 1 (ItemDataBlock)=12
Weapon Part 2 (ItemDataBlock)=12
Weapon Part 3 (ItemDataBlock)=12
Weapon Part 4 (ItemDataBlock)=12
Weapon Part 5 (ItemDataBlock)=12
Weapon Part 6 (ItemDataBlock)=12
Weapon Part 7 (ItemDataBlock)=12
Pick Axe (MeleeWeaponDataBlock)=1
Rock (MeleeWeaponDataBlock)=1
Shotgun (ShotgunDataBlock)=8
Stone Hatchet (MeleeWeaponDataBlock)=1
Supply Signal (HandGrenadeDataBlock)=1
Uber Hatchet (MeleeWeaponDataBlock)=1
Uber Hunting Bow (BowWeaponDataBlock)=1
HandCannon (StrikeGunDataBlock)=1
HandCannon Blueprint (BlueprintDataBlock)=1
Pipe Shotgun (ShotgunDataBlock)=1
Pipe Shotgun Blueprint (BlueprintDataBlock)=1
Revolver (BulletWeaponDataBlock)=8
Revolver Blueprint (BlueprintDataBlock)=1
So It worked?
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
4,462
113
At your house.
github.com
Everything works apart from the setting part.
You can set it to what ever but in game its still the same amount as default
Seems like the value is settable.

Does _maxUses return any value? What happens if you set It, and you print the value after that?
 

Jakkee

Plugin Developer
Plugin Developer
Contributor
Jul 28, 2014
1,465
922
113
Australia
Seems like the value is settable.

Does _maxUses return any value? What happens if you set It, and you print the value after that?
Setting it will change it but when you print out the maxUses it will print the changed maxUses.
So maybe the stack sizes are client sided?

Also this is the log that prints the item and shows ._maxUses per item
INI:
[Items]
Bolt Action Rifle (BulletWeaponDataBlock)=3
Bolt Action Rifle Blueprint (BlueprintDataBlock)=1
556 Ammo (AmmoItemDataBlock)=250
9mm Ammo (AmmoItemDataBlock)=250
556 Ammo Blueprint (BlueprintDataBlock)=1
9mm Ammo Blueprint (BlueprintDataBlock)=1
Handmade Shell Blueprint (BlueprintDataBlock)=1
Shotgun Shells Blueprint (BlueprintDataBlock)=1
556 Casing Blueprint (BlueprintDataBlock)=1
9mm Casing Blueprint (BlueprintDataBlock)=1
Empty Shotgun Shell Blueprint (BlueprintDataBlock)=1
Primed 556 Casing Blueprint (BlueprintDataBlock)=1
Primed 9mm Casing Blueprint (BlueprintDataBlock)=1
Primed Shotgun Shell Blueprint (BlueprintDataBlock)=1
Empty 556 Casing (ItemDataBlock)=250
Empty 9mm Casing (ItemDataBlock)=250
Empty Shotgun Shell (ItemDataBlock)=250
Primed 556 Casing (ItemDataBlock)=250
Primed 9mm Casing (ItemDataBlock)=250
Primed Shotgun Shell (ItemDataBlock)=250
Handmade Shell (AmmoItemDataBlock)=250
Shotgun Shells (AmmoItemDataBlock)=250
Cloth Boots BP (BlueprintDataBlock)=1
Cloth Helmet BP (BlueprintDataBlock)=1
Cloth Pants BP (BlueprintDataBlock)=1
Cloth Vest BP (BlueprintDataBlock)=1
Kevlar Boots BP (BlueprintDataBlock)=1
Kevlar Helmet BP (BlueprintDataBlock)=1
Kevlar Pants BP (BlueprintDataBlock)=1
Kevlar Vest BP (BlueprintDataBlock)=1
Leather Boots BP (BlueprintDataBlock)=1
Leather Helmet BP (BlueprintDataBlock)=1
Leather Pants BP (BlueprintDataBlock)=1
Leather Vest BP (BlueprintDataBlock)=1
Rad Suit Boots BP (BlueprintDataBlock)=1
Rad Suit Helmet BP (BlueprintDataBlock)=1
Rad Suit Pants BP (BlueprintDataBlock)=1
Rad Suit Vest BP (BlueprintDataBlock)=1
Cloth Boots (ArmorDataBlock)=1
Cloth Helmet (ArmorDataBlock)=1
Cloth Pants (ArmorDataBlock)=1
Cloth Vest (ArmorDataBlock)=1
Invisible Boots (ArmorDataBlock)=1
Invisible Helmet (ArmorDataBlock)=1
Invisible Pants (ArmorDataBlock)=1
Invisible Vest (ArmorDataBlock)=1
Kevlar Boots (ArmorDataBlock)=1
Kevlar Helmet (ArmorDataBlock)=1
Kevlar Pants (ArmorDataBlock)=1
Kevlar Vest (ArmorDataBlock)=1
Leather Boots (ArmorDataBlock)=1
Leather Helmet (ArmorDataBlock)=1
Leather Pants (ArmorDataBlock)=1
Leather Vest (ArmorDataBlock)=1
Armor Part 1 (ItemDataBlock)=12
Armor Part 2 (ItemDataBlock)=12
Armor Part 3 (ItemDataBlock)=12
Armor Part 4 (ItemDataBlock)=12
Armor Part 5 (ItemDataBlock)=12
Armor Part 6 (ItemDataBlock)=12
Armor Part 7 (ItemDataBlock)=12
Armor Part 1 BP (BlueprintDataBlock)=1
Armor Part 2 BP (BlueprintDataBlock)=1
Armor Part 3 BP (BlueprintDataBlock)=1
Armor Part 4 BP (BlueprintDataBlock)=1
Armor Part 5 BP (BlueprintDataBlock)=1
Armor Part 6 BP (BlueprintDataBlock)=1
Armor Part 7 BP (BlueprintDataBlock)=1
Rad Suit Boots (ArmorDataBlock)=1
Rad Suit Helmet (ArmorDataBlock)=1
Rad Suit Pants (ArmorDataBlock)=1
Rad Suit Vest (ArmorDataBlock)=1
Arrow (AmmoItemDataBlock)=10
Arrow Blueprint (BlueprintDataBlock)=1
Anti-Radiation Pills (ConsumableDataBlock)=250
Can of Beans (ConsumableDataBlock)=250
Can of Tuna (ConsumableDataBlock)=250
Chocolate Bar (ConsumableDataBlock)=250
Cooked Chicken Breast (ConsumableDataBlock)=250
Granola Bar (ConsumableDataBlock)=250
Raw Chicken Breast (ConsumableDataBlock)=250
Small Rations (ConsumableDataBlock)=250
Small Water Bottle (ConsumableDataBlock)=250
Bed (DeployableItemDataBlock)=1
Bed Blueprint (BlueprintDataBlock)=1
Camp Fire Blueprint (BlueprintDataBlock)=1
Explosive Charge Blueprint (BlueprintDataBlock)=1
Furnace Blueprint (BlueprintDataBlock)=1
Large Spike Wall Blueprint (BlueprintDataBlock)=1
Large Wood Storage Blueprint (BlueprintDataBlock)=1
Metal Door Blueprint (BlueprintDataBlock)=1
Metal Window Bars Blueprint (BlueprintDataBlock)=1
Repair Bench Blueprint (BlueprintDataBlock)=1
Sleeping Bag Blueprint (BlueprintDataBlock)=1
Small Stash Blueprint (BlueprintDataBlock)=1
Spike Wall Blueprint (BlueprintDataBlock)=1
Wood Barricade Blueprint (BlueprintDataBlock)=1
Wood Gate Blueprint (BlueprintDataBlock)=1
Wood Gateway Blueprint (BlueprintDataBlock)=1
Wood Shelter Blueprint (BlueprintDataBlock)=1
Wood Storage Box Blueprint (BlueprintDataBlock)=1
Wooden Door Blueprint (BlueprintDataBlock)=1
Workbench Blueprint (BlueprintDataBlock)=1
Metal Ceiling BP (BlueprintDataBlock)=1
Metal Doorway BP (BlueprintDataBlock)=1
Metal Foundation BP (BlueprintDataBlock)=1
Metal Pillar BP (BlueprintDataBlock)=1
Metal Ramp BP (BlueprintDataBlock)=1
Metal Stairs BP (BlueprintDataBlock)=1
Metal Wall BP (BlueprintDataBlock)=1
Metal Window BP (BlueprintDataBlock)=1
Metal Ceiling (StructureComponentDataBlock)=250
Metal Doorway (StructureComponentDataBlock)=250
Metal Foundation (StructureComponentDataBlock)=250
Metal Pillar (StructureComponentDataBlock)=250
Metal Ramp (StructureComponentDataBlock)=250
Metal Stairs (StructureComponentDataBlock)=250
Metal Wall (StructureComponentDataBlock)=250
Metal Window (StructureComponentDataBlock)=250
Wood Ceiling BP (BlueprintDataBlock)=1
Wood Doorway BP (BlueprintDataBlock)=1
Wood Foundation BP (BlueprintDataBlock)=1
Wood Pillar BP (BlueprintDataBlock)=1
Wood Ramp BP (BlueprintDataBlock)=1
Wood Stairs BP (BlueprintDataBlock)=1
Wood Wall BP (BlueprintDataBlock)=1
Wood Window BP (BlueprintDataBlock)=1
Wood Ceiling (StructureComponentDataBlock)=250
Wood Doorway (StructureComponentDataBlock)=250
Wood Foundation (StructureComponentDataBlock)=250
Wood Pillar (StructureComponentDataBlock)=250
Wood Ramp (StructureComponentDataBlock)=250
Wood Stairs (StructureComponentDataBlock)=250
Wood Wall (StructureComponentDataBlock)=250
Wood Window (StructureComponentDataBlock)=250
Camp Fire (DeployableInventoryDataBlock)=250
Explosive Charge (DeployableItemDataBlock)=5
Furnace (DeployableItemDataBlock)=1
Large Spike Wall (DeployableItemDataBlock)=1
Large Wood Storage (DeployableItemDataBlock)=5
Metal Door (DeployableItemDataBlock)=5
Metal Window Bars (DeployableItemDataBlock)=5
Repair Bench (DeployableItemDataBlock)=1
Sleeping Bag (DeployableItemDataBlock)=250
Small Stash (DeployableItemDataBlock)=5
Spike Wall (DeployableItemDataBlock)=1
Wood Barricade (DeployableItemDataBlock)=250
Wood Gate (DeployableItemDataBlock)=1
Wood Gateway (DeployableItemDataBlock)=1
Wood Shelter (DeployableItemDataBlock)=5
Wood Storage Box (DeployableItemDataBlock)=5
Wooden Door (DeployableItemDataBlock)=5
Workbench (DeployableItemDataBlock)=1
Explosives (GunpowderDataBlock)=250
Gunpowder (GunpowderDataBlock)=250
Bandage (BasicHealthKitDataBlock)=5
Bandage Blueprint (BlueprintDataBlock)=1
Large Medkit Blueprint (BlueprintDataBlock)=1
Small Medkit Blueprint (BlueprintDataBlock)=1
Large Medkit (BasicHealthKitDataBlock)=5
Small Medkit (BasicHealthKitDataBlock)=5
Explosives Blueprint (BlueprintDataBlock)=1
Flare (TorchItemDataBlock)=10
Flare Blueprint (BlueprintDataBlock)=1
Gunpowder Blueprint (BlueprintDataBlock)=1
Paper Blueprint (BlueprintDataBlock)=1
Torch (BasicTorchItemDataBlock)=250
Torch Blueprint (BlueprintDataBlock)=1
Animal Fat (ResourceTypeItemDataBlock)=250
Blood (ResourceTypeItemDataBlock)=250
Low Grade Fuel Blueprint (BlueprintDataBlock)=1
Low Quality Metal Blueprint (BlueprintDataBlock)=1
Wood Planks Blueprint (BlueprintDataBlock)=1
Charcoal (ResourceTypeItemDataBlock)=250
Cloth (ResourceTypeItemDataBlock)=250
Leather (ResourceTypeItemDataBlock)=250
Low Grade Fuel (ResourceTypeItemDataBlock)=250
Low Quality Metal (ResourceTypeItemDataBlock)=250
Metal Fragments (ResourceTypeItemDataBlock)=250
Metal Ore (ResourceTypeItemDataBlock)=250
Paper (ResourceTypeItemDataBlock)=250
Stones (ResourceTypeItemDataBlock)=250
Sulfur (ResourceTypeItemDataBlock)=250
Sulfur Ore (ResourceTypeItemDataBlock)=250
Wood (ResourceTypeItemDataBlock)=250
Wood Planks (ResourceTypeItemDataBlock)=250
Blood Draw Kit (BloodDrawDatablock)=1
Blood Draw Kit Blueprint (BlueprintDataBlock)=1
Handmade Lockpick Blueprint (BlueprintDataBlock)=1
Research Kit Blueprint (BlueprintDataBlock)=1
Handmade Lockpick (LockpickItemDataBlock)=1
Recycle Kit 1 (RecycleToolDataBlock)=1
Research Kit 1 (ResearchToolDataBlock)=3
9mm Pistol (BulletWeaponDataBlock)=12
9mm Pistol Blueprint (BlueprintDataBlock)=1
F1 Grenade Blueprint (BlueprintDataBlock)=1
Hatchet Blueprint (BlueprintDataBlock)=1
Hunting Bow Blueprint (BlueprintDataBlock)=1
M4 Blueprint (BlueprintDataBlock)=1
MP5A4 Blueprint (BlueprintDataBlock)=1
P250 Blueprint (BlueprintDataBlock)=1
Pick Axe Blueprint (BlueprintDataBlock)=1
Shotgun Blueprint (BlueprintDataBlock)=1
Stone Hatchet Blueprint (BlueprintDataBlock)=1
F1 Grenade (HandGrenadeDataBlock)=5
Hatchet (MeleeWeaponDataBlock)=1
Hunting Bow (BowWeaponDataBlock)=1
M4 (BulletWeaponDataBlock)=24
Flashlight Mod BP (BlueprintDataBlock)=1
Holo sight BP (BlueprintDataBlock)=1
Laser Sight BP (BlueprintDataBlock)=1
Silencer BP (BlueprintDataBlock)=1
Flashlight Mod (BaseWeaponModDataBlock)=1
Holo sight (BaseWeaponModDataBlock)=1
Laser Sight (BaseWeaponModDataBlock)=1
Silencer (BaseWeaponModDataBlock)=1
MP5A4 (BulletWeaponDataBlock)=30
P250 (BulletWeaponDataBlock)=8
Weapon Part 1 BP (BlueprintDataBlock)=1
Weapon Part 2 BP (BlueprintDataBlock)=1
Weapon Part 3 BP (BlueprintDataBlock)=1
Weapon Part 4 BP (BlueprintDataBlock)=1
Weapon Part 5 BP (BlueprintDataBlock)=1
Weapon Part 6 BP (BlueprintDataBlock)=1
Weapon Part 7 BP (BlueprintDataBlock)=1
Weapon Part 1 (ItemDataBlock)=12
Weapon Part 2 (ItemDataBlock)=12
Weapon Part 3 (ItemDataBlock)=12
Weapon Part 4 (ItemDataBlock)=12
Weapon Part 5 (ItemDataBlock)=12
Weapon Part 6 (ItemDataBlock)=12
Weapon Part 7 (ItemDataBlock)=12
Pick Axe (MeleeWeaponDataBlock)=1
Rock (MeleeWeaponDataBlock)=1
Shotgun (ShotgunDataBlock)=8
Stone Hatchet (MeleeWeaponDataBlock)=1
Supply Signal (HandGrenadeDataBlock)=1
Uber Hatchet (MeleeWeaponDataBlock)=1
Uber Hunting Bow (BowWeaponDataBlock)=1
HandCannon (StrikeGunDataBlock)=1
HandCannon Blueprint (BlueprintDataBlock)=1
Pipe Shotgun (ShotgunDataBlock)=1
Pipe Shotgun Blueprint (BlueprintDataBlock)=1
Revolver (BulletWeaponDataBlock)=8
Revolver Blueprint (BlueprintDataBlock)=1
 

Jakkee

Plugin Developer
Plugin Developer
Contributor
Jul 28, 2014
1,465
922
113
Australia
Thought I'd come back to this...
I changed the max use for wood to 20,000 for fun and the stacks never go past 250, Actually they'll start taking away from the stack if its 250+.E.G: GatherRate is at 1000, It'll put 100 into a stack but then remove the left over amount (750) from the stack until it hits 0 (Zero) THEN it takes that left over amount (500) and adds it.. (Repeats).
^Hope you understood that.

Also I had to stacks with 32 (Actually had like 52000ish in each) and I tried to combine them and it doesn't combine and an error in console pops up in red:
NoOp

No Errors in any of the logs.

Attached files if you want to try it out yourself
 

Attachments

  • Informative
Reactions: DreTaX

Demo

Member
Member
Mar 3, 2016
108
14
18
27
Parts Unknown
Thought I'd come back to this...
I changed the max use for wood to 20,000 for fun and the stacks never go past 250, Actually they'll start taking away from the stack if its 250+.E.G: GatherRate is at 1000, It'll put 100 into a stack but then remove the left over amount (750) from the stack until it hits 0 (Zero) THEN it takes that left over amount (500) and adds it.. (Repeats).
^Hope you understood that.

Also I had to stacks with 32 (Actually had like 52000ish in each) and I tried to combine them and it doesn't combine and an error in console pops up in red:
NoOp

No Errors in any of the logs.

Attached files if you want to try it out yourself
The plugin does not work - the campaign is not to circumvent the restriction 250 :(
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
4,462
113
At your house.
github.com
Thought I'd come back to this...
I changed the max use for wood to 20,000 for fun and the stacks never go past 250, Actually they'll start taking away from the stack if its 250+.E.G: GatherRate is at 1000, It'll put 100 into a stack but then remove the left over amount (750) from the stack until it hits 0 (Zero) THEN it takes that left over amount (500) and adds it.. (Repeats).
^Hope you understood that.

Also I had to stacks with 32 (Actually had like 52000ish in each) and I tried to combine them and it doesn't combine and an error in console pops up in red:
NoOp

No Errors in any of the logs.

Attached files if you want to try it out yourself
Python:
# -*- coding: utf-8 -*-
__title__ = 'StackSizes'
__author__ = 'Jakkee'
__version__ = '1.0'

import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite


class StackSizes:
    def On_ItemsLoaded(self, ItemsBlocks):
        ini = Plugin.GetIni("Settings")
        keys = ini.EnumSection("StackSizes")
        Util.Log("-----------------------------")
        for x in ItemsBlocks:
            x._maxUses = 350
        # for key in keys:
        # This code doesn't update the list
        # You need to update the elements of the itemblocks instead so fougerite
        # loads them
        """
            Util.Log(key + "=" + str(ItemsBlocks.Find(key)._maxUses))
            ItemsBlocks.Find(key)._maxUses = int(ini.GetSetting("StackSizes", key))
            Util.Log(key + "=" + str(ItemsBlocks.Find(key)._maxUses))
            Util.Log("-----------------------------")"""
C#:
public static ItemDataBlock[] ItemsLoaded(System.Collections.Generic.List<ItemDataBlock> items, Dictionary<string, int> stringDB, Dictionary<int, int> idDB)
        {
            ItemsBlocks blocks = new ItemsBlocks(items);
            try
            {
                if (OnItemsLoaded != null)
                    OnItemsLoaded(blocks);
            }
            catch (Exception ex)
            {
                Logger.LogError("DataBlockLoadEvent Error: " + ex.ToString());
            }
            int num = 0;
            foreach (ItemDataBlock block in blocks)
            {
                stringDB.Add(block.name, num);
                idDB.Add(block.uniqueID, num);
                num++;
            }
            Fougerite.Server.GetServer().Items = blocks;
            return blocks.ToArray();
        }
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
4,462
113
At your house.
github.com
The plugin does not work - the campaign is not to circumvent the restriction 250 :(
Thought I'd come back to this...
I changed the max use for wood to 20,000 for fun and the stacks never go past 250, Actually they'll start taking away from the stack if its 250+.E.G: GatherRate is at 1000, It'll put 100 into a stack but then remove the left over amount (750) from the stack until it hits 0 (Zero) THEN it takes that left over amount (500) and adds it.. (Repeats).
^Hope you understood that.

Also I had to stacks with 32 (Actually had like 52000ish in each) and I tried to combine them and it doesn't combine and an error in console pops up in red:
NoOp

No Errors in any of the logs.

Attached files if you want to try it out yourself
Seems like It is possible to modify the stack sizes for some of the items

It is possible to modify weapon stats

I think It's even possible to create ITEMS, and Attachtments.

That would give a possiblity to create a drum magazine for example for the M4.

I think It's also possible to make use of the bullet casings and stuffs like that.

I'm uploading a video atm.
 

Demo

Member
Member
Mar 3, 2016
108
14
18
27
Parts Unknown
Seems like It is possible to modify the stack sizes for some of the items

It is possible to modify weapon stats

I think It's even possible to create ITEMS, and Attachtments.

That would give a possiblity to create a drum magazine for example for the M4.

I think It's also possible to make use of the bullet casings and stuffs like that.

I'm uploading a video atm.
It would be cool if that can help anything :) - though I started a month ago - I know the magma 1.1.5 by 40 % - but still want to learn :)
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
4,462
113
At your house.
github.com
Hey! So I've decided to try and change the default stack sizes like my Pluton plugin: http://forum.pluton-team.org/resources/stacksizes.63/
I only have 1 problem, I can't actually set the stack amount.
You can get a stack about by doing:
Python:
def On_ItemsLoaded(self, ItemsBlocks):
    Util.Log("9mm Ammo max uses: " + str(ItemsBlocks.Find("9mm Ammo")._maxUses))
and that will print out 250, Currently im trying to set it and if you try and find the max stack amount after setting the stack amount it will say what ever you set it as. So i'm thinking im doing something wrong or the default stack sizes are client side.
Python:
# -*- coding: utf-8 -*-
__title__ = 'StackSizes'
__author__ = 'Jakkee'
__version__ = '1.0'

import clr
clr.AddReferenceByPartialName("Fougerite")
import Fougerite


class StackSizes:
    def On_ItemsLoaded(self, ItemsBlocks):
        if not Plugin.IniExists("Settings"):
            Plugin.CreateIni("Settings")
            ini = Plugin.GetIni("Settings")
            ini.AddSetting("Items", "Metal Ore", "250")
            ini.AddSetting("Items", "Sulfur Ore", "250")
            ini.AddSetting("Items", "Leather", "250")
            ini.AddSetting("Items", "Cloth", "250")
            ini.AddSetting("Items", "Animal Fat", "250")
            ini.AddSetting("Items", "Low Grade Fuel", "250")
            ini.AddSetting("Items", "Workbench", "1")
            ini.AddSetting("Items", "Stone Hatchet", "1")
            ini.AddSetting("Items", "Furnace", "1")
            ini.AddSetting("Items", "Torch", "250")
            ini.AddSetting("Items", "Low Quality Metal", "250")
            ini.AddSetting("Items", "Metal Door", "5")
            ini.AddSetting("Items", "Large Wood Storage", "5")
            ini.AddSetting("Items", "Small Stash", "5")
            ini.AddSetting("Items", "Gunpowder", "250")
            ini.AddSetting("Items", "Sulfur", "250")
            ini.AddSetting("Items", "Wood Planks", "250")
            ini.AddSetting("Items", "Paper", "250")
            ini.AddSetting("Items", "Explosives", "250")
            ini.AddSetting("Items", "Bandage", "5")
            ini.AddSetting("Items", "Large Medkit", "5")
            ini.AddSetting("Items", "Small Medkit", "5")
            ini.AddSetting("Items", "Arrow", "10")
            ini.AddSetting("Items", "Handmade Shell", "250")
            ini.AddSetting("Items", "Shotgun Shells", "250")
            ini.AddSetting("Items", "556 Ammo", "250")
            ini.AddSetting("Items", "9mm Ammo", "250")
            ini.AddSetting("Items", "Explosive Charge", "5")
            ini.AddSetting("Items", "F1 Grenade", "10")
            ini.AddSetting("Items", "Flare", "10")
            ini.AddSetting("Items", "Research Kit 1", "1")
            ini.AddSetting("Items", "Cooked Chicken Breast", "250")
            ini.AddSetting("Items", "Anti-Radiation Pills", "250")
            ini.AddSetting("Items", "Wood", "250")
            ini.AddSetting("Items", "Wood Pillar", "250")
            ini.AddSetting("Items", "Wood Foundation", "250")
            ini.AddSetting("Items", "Wood Wall", "250")
            ini.AddSetting("Items", "Wood Doorway", "250")
            ini.AddSetting("Items", "Wood Window", "250")
            ini.AddSetting("Items", "Wood Stairs", "250")
            ini.AddSetting("Items", "Wood Ramp", "250")
            ini.AddSetting("Items", "Wood Ceiling", "250")
            ini.AddSetting("Items", "Metal Pillar", "250")
            ini.AddSetting("Items", "Metal Foundation", "250")
            ini.AddSetting("Items", "Metal Fragments", "250")
            ini.AddSetting("Items", "Metal Wall", "250")
            ini.AddSetting("Items", "Metal Doorway", "250")
            ini.AddSetting("Items", "Metal Window", "250")
            ini.AddSetting("Items", "Metal Stairs", "250")
            ini.AddSetting("Items", "Metal Ramp", "250")
            ini.AddSetting("Items", "Metal Ceiling", "250")
            ini.AddSetting("Items", "Metal Window Bars", "5")
            ini.Save()
        #Thanks to Snake for his help here
        ini = Plugin.GetIni("Settings")
        keys = ini.EnumSection("Items")
        for key in keys:
            ItemsBlocks.Find(key)._maxUses = int(ini.GetSetting("Items", key))
Any ideas? :p
Do you still want to do this plugin?
 

DreTaX

Probably knows the answer...
Administrator
Jun 29, 2014
4,066
4,462
113
At your house.
github.com
I see you both have more experience than me - please help make the anti-cheat vs cheat on autowood
Auto wood?

I tried. It's impossible. The trees are on client side, and the server doesn't know the tree's location. This was admitted by the hack creators, even I debugged It.