Help debug my mod? [Events]
Posted: Sat May 10, 2014 7:42 am
I've been developing a mod that's supposed to add a new element to Sleeper Service's CE (+Infinite and Endless Loot).
But my mod isn't working quite as I expected, something is going wrong.
What's supposed to happen:
1. Player reaches trade beacon and has a Weapon Blueprint augment. He sees a blue option that says "(Weapon Blueprint) Have a weapon built." He clicks it.
2. Then the new screen says "You dock to check out the engineering corporations aboard the trade hub. This will take a while." and gives a single option:
"Hire "Glurgh's Workshop" (low price)"
(there are supposed to be more options, but for testing purposes, I only added one for now)
3. The player is taken to a new screen that says "You head to their workshop. The place smells terrible, and the Mantis who answers at the door is obviously on drugs. "Whatchu want?" he asks." and gives two choices:
"Build a Burst Laser II weapon from the blueprint (about 25 scrap)" and
"Give up on building your weapon."
4. Finally (if the player decides to build), he's supposed to get either a Substandard Burst Laser II or a regular Burst Laser II (along with a text prompt specific for each different reward).
The problem is, what's happening is that step 1 occurs normally, but step 2. is as follows:
The new screen says "You dock to check out the engineering corporations aboard the trade hub. This will take a while.". It gives the "Hire "Glurgh's Workshop" (low price)" option but it also includes a box beside it that sometimes has a scrap cost, sometimes has a scrap gain, sometimes even has a BL II or Substandard BL II. Once clicked, it takes you to a random event that is unrelated to the weapon building mod.
The player never even sees steps 3 and 4.
(Besides, it's causing my game to crash sometimes if I click "Restart" from the ESC menu, and I have no idea why)
You can download the .ftl file here: http://www.sendspace.com/file/6xm7gu
The mod requires that CE Endless Loot is loaded. This in turn requires CE Infinite, which requires FTL Captain's Edition. All of these mods are available from Sleeper Service's thread here: http://www.ftlgame.com/forum/viewtopic.php?f=11&t=15663
My mod is also supposed to be the last one in the mod order, and the loading should be done using the Slipstream Mod Manager.
The Kestrel B has the required augment for testing. The event triggers if you have the augment and reach a Store.
But my mod isn't working quite as I expected, something is going wrong.
What's supposed to happen:
1. Player reaches trade beacon and has a Weapon Blueprint augment. He sees a blue option that says "(Weapon Blueprint) Have a weapon built." He clicks it.
2. Then the new screen says "You dock to check out the engineering corporations aboard the trade hub. This will take a while." and gives a single option:
"Hire "Glurgh's Workshop" (low price)"
(there are supposed to be more options, but for testing purposes, I only added one for now)
3. The player is taken to a new screen that says "You head to their workshop. The place smells terrible, and the Mantis who answers at the door is obviously on drugs. "Whatchu want?" he asks." and gives two choices:
"Build a Burst Laser II weapon from the blueprint (about 25 scrap)" and
"Give up on building your weapon."
4. Finally (if the player decides to build), he's supposed to get either a Substandard Burst Laser II or a regular Burst Laser II (along with a text prompt specific for each different reward).
The problem is, what's happening is that step 1 occurs normally, but step 2. is as follows:
The new screen says "You dock to check out the engineering corporations aboard the trade hub. This will take a while.". It gives the "Hire "Glurgh's Workshop" (low price)" option but it also includes a box beside it that sometimes has a scrap cost, sometimes has a scrap gain, sometimes even has a BL II or Substandard BL II. Once clicked, it takes you to a random event that is unrelated to the weapon building mod.
The player never even sees steps 3 and 4.
(Besides, it's causing my game to crash sometimes if I click "Restart" from the ESC menu, and I have no idea why)
You can download the .ftl file here: http://www.sendspace.com/file/6xm7gu
The mod requires that CE Endless Loot is loaded. This in turn requires CE Infinite, which requires FTL Captain's Edition. All of these mods are available from Sleeper Service's thread here: http://www.ftlgame.com/forum/viewtopic.php?f=11&t=15663
My mod is also supposed to be the last one in the mod order, and the loading should be done using the Slipstream Mod Manager.
The Kestrel B has the required augment for testing. The event triggers if you have the augment and reach a Store.