Adding Embers of Rage items to store in the main campaign
Posted: Sun Apr 03, 2016 3:04 am
My current code which was almost directly taken from Embers of Rage (read stolen) doesn't quite work, none of the items but the Longswords, which I added as a test, appear in the shop. Is their any way to get the Embers of Rage items to appear in the store?
On a side note what hook do you use to add a new conversation to the game?
Code: Select all
newEntity{
define_as = "TINKERS",
name = "tinker shop",
display = '5', color=colors.GREY,
store = {
purse = 25,
empty_before_restock = false,
fixed = {
{id=true, defined="SCHEMATIC_RANDOM_FROST_SALVE"},
{id=true, defined="SCHEMATIC_RANDOM_FIERY_SALVE"},
{id=true, defined="SCHEMATIC_RANDOM_WATER_SALVE"},
{id=true, defined="SCHEMATIC_RANDOM_STEAMSAW"},
{id=true, defined="SCHEMATIC_RANDOM_STEAMGUN"},
{id=true, defined="APE"},
},
filters = {
{type="scroll", subtype="schematic", id=true},
{type="scroll", subtype="implant", id=true},
{type="weapon", subtype="longsword", id=true, tome_drops="boss"},
},
},
}