Is there a way to edit the properties of an item in console ? Or re-define it ?
I'm playing the Labyrinth of lies mod but I found a grammar issue in the it'em's properties.
SpoilerShow
defineObject{
name = "autocrank_crossbow",
class = "Item",
uiName = "Autocrank Crossbow",
model = "mod_assets/models/autocrank_crossbow.fbx",
gfxAtlas = "mod_assets/textures/akroma_icons4.tga",
gfxIndex = 25,
skill = "missile weapons", -> underscore missing
requiredLevel = 40,
rangedWeapon = true,
ammo = "quarrel",
attackPower = 40,
coolDownTime = 2.7,
attackMethod = "rangedAttack",
attackSound = "swipe_bow",
impactSound = "impact_blunt",
weight = 3.7,
description = "Gadgeteers from the Vermlin breeding nests invented these mechanised crossbows to match the Chittin Longbows employed by the Insectoid Scourge. Both weapons were matched for power, however, weather conditions and Ice magics crippled the crank systems and crippled this Vermlin invention. Without hinderance though, its powerful and the autocrank allows for rapidfire.",
}
name = "autocrank_crossbow",
class = "Item",
uiName = "Autocrank Crossbow",
model = "mod_assets/models/autocrank_crossbow.fbx",
gfxAtlas = "mod_assets/textures/akroma_icons4.tga",
gfxIndex = 25,
skill = "missile weapons", -> underscore missing
requiredLevel = 40,
rangedWeapon = true,
ammo = "quarrel",
attackPower = 40,
coolDownTime = 2.7,
attackMethod = "rangedAttack",
attackSound = "swipe_bow",
impactSound = "impact_blunt",
weight = 3.7,
description = "Gadgeteers from the Vermlin breeding nests invented these mechanised crossbows to match the Chittin Longbows employed by the Insectoid Scourge. Both weapons were matched for power, however, weather conditions and Ice magics crippled the crank systems and crippled this Vermlin invention. Without hinderance though, its powerful and the autocrank allows for rapidfire.",
}