Skip to content

DecoKit for C2

This is a system for making decorative objects in C2 which can lock/unlock. Because they're System class, they don't show tooltip on mouseover and can be made hand-movable again unlike scenery.

Rhopas Palms

Download DecoKit with Rhopas Palms

You get:

  • DK: !Lock/Unlock
  • DK: Rhopas Palms - Decorative* relatives of the cave palms. Click to cycle appearance, and layer them to build your own midground canopy!

*I REALLY tried to make these decrease the light level of the room they're put in. Light bounces so, well, fast, that the timer has to be very short to ever make a dent on the planet's surface. This feature was removed.

Making your own decorative objects:

To make your agent visible to the DK locker/unlocker, make your object of System (1) genus and set ov77 to 77. I recommend just stealing and opening this COB in BOBCob. Edit the install script to use your sprite, and then make these two very important changes: 1. change the start pose/number of sprites in the new: simp call from 7 to the number in your new sprite file. 2. In the Push (1) event script, change the 7 in doif var0 lt 7 to the number of images in your file. If this is not done, your world WILL be corrupted (Encountered an improper argument)! Test this in a new throwaway world.

The lock agent toggles attr between 16 and 22 on inject/remove, so if those values are no good for your idea, you may want to just make it a non-DK agent and unset ov77.

Other notes...

  • These are a no brainer to port to Garden Box but I'm super burned out on DS agent making atm...
  • This kind of thing will probably also work in C1.
  • I made these originally as a test for hand-placing Scenery objects for new worlds - try making one that spawns a Scenery object on click at the same location.
  • Sprites made in Blender & Paint Shop Pro 7