Changes

Jump to navigation Jump to search
→‎New utility fields & methods: + Object.IsTextSign()
Line 571: Line 571:  
| <samp>Object.GetPreservedItemId()</samp>
 
| <samp>Object.GetPreservedItemId()</samp>
 
| Get the item ID which was preserved as part of this item (e.g. the tulip ID for tulip honey), if applicable. This is equivalent to <samp>item.preservedParentSheetIndex</samp>, except in special cases like wild honey where <samp>preservedParentSheetIndex</samp> is set to a non-item value like <samp>-1</samp>.
 
| Get the item ID which was preserved as part of this item (e.g. the tulip ID for tulip honey), if applicable. This is equivalent to <samp>item.preservedParentSheetIndex</samp>, except in special cases like wild honey where <samp>preservedParentSheetIndex</samp> is set to a non-item value like <samp>-1</samp>.
 +
|-
 +
| <samp>Object.IsTextSign()</samp>
 +
| Get whether the object can have editable text which is shown on hover like a [[Text Sign|text sign]].
 
|-
 
|-
 
| <samp>Raccoon.GetBundle()</samp><br /><samp>Raccoon.GetBundle(timesFed)</samp>
 
| <samp>Raccoon.GetBundle()</samp><br /><samp>Raccoon.GetBundle(timesFed)</samp>
manager
8,549

edits

Navigation menu