Edit item in console

Talk about creating Grimrock 1 levels and mods here. Warning: forum contains spoilers!
Post Reply
User avatar
maz0ut
Posts: 14
Joined: Mon Feb 25, 2013 1:03 pm
Location: France

Edit item in console

Post by maz0ut »

HI,

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.",
}
User avatar
Isaac
Posts: 3172
Joined: Fri Mar 02, 2012 10:02 pm

Re: Edit item in console

Post by Isaac »

In Grimrock 2, yes, but not in the first game; the object must be redefined —afaik.
User avatar
maz0ut
Posts: 14
Joined: Mon Feb 25, 2013 1:03 pm
Location: France

Re: Edit item in console

Post by maz0ut »

:cry: ooh . Thank you Isaac !
Post Reply