builders:repainter
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
builders:repainter [2021/07/30 21:11] – created amanda | builders:repainter [2024/12/20 21:32] (current) – clyde | ||
---|---|---|---|
Line 1: | Line 1: | ||
=== Region Repainter === | === Region Repainter === | ||
- | \ | + | |
This is a special device that can repaint some or all objects in a room. | This is a special device that can repaint some or all objects in a room. | ||
- | Create an object of type 31, " | + | Create an object of type 31, [[builders: |
- | Set action_type to 3.\\ | + | **Set action_type to 3**.\\ |
action_menu can be any suitable value to get the menu prompt you want. The default of 0 gives " | action_menu can be any suitable value to get the menu prompt you want. The default of 0 gives " | ||
Set colorMap to the colors you wish to apply. | Set colorMap to the colors you wish to apply. | ||
+ | **Set action_type to 4**.\\ | ||
+ | action_menu can be any suitable value to get the menu prompt you want. The default of 0 gives " | ||
+ | |||
+ | The user must be holding a spray can of the color they want to apply to all objects. | ||
+ | |||
+ | **Objects**\\ | ||
Within the locale, you can place items as normal. | Within the locale, you can place items as normal. | ||
- | Set common_flags on the item to the usual values, plus 4096. The " | + | Set [[builders:common_flags|common_flags]] |
- | When the active object | + | When the active object |
- Any objects, with the appropriate flags, in vendos will be repainted. | - Any objects, with the appropriate flags, in vendos will be repainted. | ||
- If the vendo it is in has the same imageURL/ | - If the vendo it is in has the same imageURL/ | ||
- | - Any other objects with the appropriate flags that are glued down/ | + | - //Any other objects with the appropriate flags that are glued down/ |
This allows you to change colors of things available to buy, and objects glued in the room, but not items being held or dropped on the floor. | This allows you to change colors of things available to buy, and objects glued in the room, but not items being held or dropped on the floor. | ||
Line 23: | Line 29: | ||
Bought items will have the paintable flag retained, so they can be placed in a turf and repainted there. | Bought items will have the paintable flag retained, so they can be placed in a turf and repainted there. | ||
- | It is intended that future versions of this plugin will allow for saleable consumable objects (set ' | + | |
+ | You can also create a loose object with a ' |
builders/repainter.1627679463.txt.gz · Last modified: 2021/07/30 21:11 by amanda