Overwrite/Mod nHiddenID

5 posts / 0 new
Last post
#1
Overwrite/Mod nHiddenID

It seems this feature doesn't work when putting a nHiddenID in a recipe from a different xml file. I used it in the past but I just noticed because I tried to do it for a lot of items in the latest update of my mod.

I'm not sure about the vAlsoTry function when used to call recipe IDs from another xml file since I think I'm not using this fuction correctly or something. :P

Pew pew pew!

Is this still giving you trouble? I tried making a new pair of recipes in a mod's neogame.xml, with one of them referring to the other as the nHiddenID. However, it seems to work as intended. E.g.

/** * Controls how this recipe appears in quick recipe list. * =0 add normally * >0 add specified recipe ID instead */ public var m_nHiddenID:int;

Let me know if that's not the case for you!

Dan Fedor - Founder, Blue Bottle Games

I... didn't quite understood that but this is still giving me trouble. Let me post examples:

<table name="recipes"> <column name="nID">105</column> <column name="strName">meat from medium, furry corpse</column> <column name="strSecretName">meat from medium, furry corpse (feral dog)</column> <column name="strTools">1x0:14</column> <column name="strConsumed">1x49</column> <column name="strDestroyed"></column> <column name="nTreasureID">89</column> <column name="fHours">1</column> <column name="nReverse">0</column> <column name="nHiddenID">0:65</column> <column name="bIdentify">0</column> <column name="bTransferComponents">0</column> <column name="vAlsoTry"></column> <column name="nTempTreasureID">0:3</column> <column name="bDegradeOutput">1</column> <column name="strType">food</column> </table> <table name="recipes"> <column name="nID">106</column> <column name="strName">meat and hide from medium, furry corpse</column> <column name="strSecretName">meat and hide from medium, furry corpse (feral dog)</column> <column name="strTools">1x0:14+1x0:16</column> <column name="strConsumed">1x49</column> <column name="strDestroyed"></column> <column name="nTreasureID">90</column> <column name="fHours">1</column> <column name="nReverse">0</column> <column name="nHiddenID">0:66</column> <column name="bIdentify">0</column> <column name="bTransferComponents">0</column> <column name="vAlsoTry"></column> <column name="nTempTreasureID">0:3</column> <column name="bDegradeOutput">1</column> <column name="strType">food</column> </table>

These two are clones from the vanilla recipes 65 and 66 but with a different "nTreasureID". Their "nHiddenID" are set on their vanilla counterparts.

When I run the game, the recipes glitch, meaning one of them still appears in the recipe list and both of them will also select the closest recipe.

IMAGE(http://i200.photobucket.com/albums/aa145/ChikoEduardo/Image2hidden_zpsced4e40f.png)
You can see here the select issue and the clone recipe that still appears in the list.

Pew pew pew!

did you figure out how to hide the recipe? how to get this working?

OverHaul Mod
DevKit is an upgraded BBC mod.
Improve your mods.

This still happens, nHiddenID only works as expected if the reference is on the same xml. If it is on another mod it will show both recipes on the list. Will it ever be fixed?