I am trying to script a chest (not a guarded chest). According to the scripting tutorial, it can be done, with the command
Code: Select all
chest(eventPtr, chestType, difficulty, gold, itemList, randItemCount, text)
Code: Select all
chest(e, 1, 20, dice(100, 4, 1), [], dice(1, 4, 1), "a chest", "treasure")
Code: Select all
return guardedChest(e,
"mtower1Chest",
0x1, 0x2,
[("Summoner", 2, 2, 40)],
["Wading through the gory remnants of battle, you find a chest!"],
["You see a chest here, that has not been disturbed recently."],
["As you leave, the chest is engulfed in flame and burns away!"],
3, 20, 7000, [], dice(1, 4, 1), "a chest",
"Treasure")