I assume you want to change only this one Skeleton Commander, if that's the case just use:1. How do I remove the natural loot that a monster can drop? I want to use a watered-down Skeleton Commander as an early boss, but I can't seem to stop him from dropping his longswords. I want him to drop what I say, and nothing more.I know there is a "setLootDrop" component but it asks for a table and I don't know what to put.
Code: Select all
skeleton_commander_1.monster:setLootDrop = { }
Just a wild guess: have you tried editing item description with2. When editing equipment, I can't seem to remove item properties. For example, when basing a new cloak off the "bear pelt", I tried "new_cloak.equipmentitem:setResistCold(0)". That sets the cold resist to 0, but unfortunately doesn't remove the tooltip from the item. When you hover over it, it says "Resist Cold +0". I need to get rid of that completely.
Code: Select all
ItemComponent:setDescription(string)
Let's assume your chest has id chest_1, try using:4. I need to spawn an edited item inside a container or on the floor. Whenever I spawn one, it just appears in front of the party. Basically I just need the proper syntax for a script that lets me spawn an edited item AND put it at coordinates/container at the same time. This seems like an easy question but I've been tinkering for hours and can't get it right.
Code: Select all
chest_1.surface:addItem(spawn("wanted_item"))
Code: Select all
chest_1.surface:addItem("wanted_item_1")