CasperLet/OpenSourceScripts: Difference between revisions
Line 49: | Line 49: | ||
New texture is NOT stored within the rental unit or the sign - the script calls it by the UUID, which is why the texture needs to be set to full perms. | New texture is NOT stored within the rental unit or the sign - the script calls it by the UUID, which is why the texture needs to be set to full perms. | ||
If the message on click changes to '''''"This store is available! If you pay the rental meter below..."''''' then the CasperLet system owner needs to | ==== Error message ==== | ||
---- | |||
If the message on the tenant's click changes to '''''"This store is available! If you pay the rental meter below..."''''' then the CasperLet system owner needs to properly link the sign. | |||
=== CasperLet API === | === CasperLet API === | ||
---- | ---- | ||
See the '''[[CasperLet/API | CasperLet API]]''' page for details. | See the '''[[CasperLet/API | CasperLet API]]''' page for details. |
Revision as of 15:34, 16 November 2020
Cautions & Warnings
Making a product using these scripts?
Casper Warden requests that if you use these scripts in a more advanced product and set it up for sale that you let him know, send him a vendor for the final product, and he'll help promote it. |
Sample Door Script (Unsupported)
Using the door script as-is
You may informally ask in the CasperTech support group if you get stuck, of course, but remember that that CasperTech will not be adding new features to these scripts - this is why they're open-source and full perm. Chances are there's a scripter in the group who might be willing to help, or you can see if there's a scripter already on your team.
Naturally, you're welcome to use them without restriction. To use them as-is (applies to both door and sign):
- Rez the door near the CasperLet unit
- Touch/click it
- Click the CasperLet unit you want to link the door to
- Click "Yes" on the popup menu
- Now click the CasperLet unit once more to send the most recent data
- The door should now function as most doors will, save that it will automatically restrict itself to the current CasperLet tenant when rented.
The door will still work from within a linkset.
Door script code
Sample Sign Script (Unsupported)
Landlords: Using the sign as-is
- Rez the sign near the CasperLet unit,
- Touch/click it
- Click the CasperLet unit you want to link the door to
- Click "Yes" on the popup menu
- Now click the CasperLet unit once more to send the most recent data
- The sign will now be linked to the rental, and only allow the tenant to change the texture
Tenant usage of properly linked sign
- Customer pays the associated rental unit to begin a rental.
- Customer clicks sign, gets "Please HOLD DOWN CONTROL and drag the texture..." message.
- Texture must be set by the renter as FULL PERM to NEXT OWNER
- Customer then CTL + drags the proper texture over to the sign.
- If customer drags the wrong texture, they need to repeat steps 3 and 4 to change the texture.
New texture is NOT stored within the rental unit or the sign - the script calls it by the UUID, which is why the texture needs to be set to full perms.
Error message
If the message on the tenant's click changes to "This store is available! If you pay the rental meter below..." then the CasperLet system owner needs to properly link the sign.
CasperLet API
See the CasperLet API page for details.