builders:actionscripts
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| builders:actionscripts [2025/10/24 20:54] – amanda | builders:actionscripts [2025/10/24 21:01] (current) – amanda | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| Scripts are triggered in a number of ways. | Scripts are triggered in a number of ways. | ||
| - | **On purchase from vendo** - sets action to that of property // | + | **Directly**, |
| + | |||
| + | **On purchase from vendo** - sets action to that of property // | ||
| **On pick up of item** - ditto. | **On pick up of item** - ditto. | ||
| - | **On dropping an item** - sets action to that of property // | + | **On dropping an item** - sets action to that of property // |
| - | **On sitting on an item** - sets action to that of property // | + | **On sitting on an item** - sets action to that of property // |
| **On drinking a potion** - if potionType is set to // | **On drinking a potion** - if potionType is set to // | ||
| + | If an action is intended to repeat itself, the script is responsible for setting a new // | ||
| Line 28: | Line 31: | ||
| | 6 | Move sideways | Moves item backwards and forwards across the screen, 3px every 30s | | | 6 | Move sideways | Moves item backwards and forwards across the screen, 3px every 30s | | ||
| | 7 | Worms alive | Provides animations and breeding for worms.. | | | 7 | Worms alive | Provides animations and breeding for worms.. | | ||
| - | | 8 | Fix item | (Used in drop) Swaps Glued to Immobile and removes Engravable flag | | + | | 8 | Fix item | Swaps Glued to Immobile and removes Engravable flag | |
| | 9 | Mark glued | Used on purchase. Warns user then sets to run "glue when dropped" | | 9 | Mark glued | Used on purchase. Warns user then sets to run "glue when dropped" | ||
| | 10 | Glue when dropped | Used in drop. Glues item down, then sets to run "fix item" after 5 mins | | | 10 | Glue when dropped | Used in drop. Glues item down, then sets to run "fix item" after 5 mins | | ||
builders/actionscripts.1761339267.txt.gz · Last modified: by amanda
