MUCK talk:Cheatsheet: Difference between revisions

From Post-Self
(Add separate morphs using objects)
 
m (Add missing step)
Line 9: Line 9:
# Set your description to shortcode that will read the description from the item you are currently holding: <code>@desc me=[iter(lcon(me), if(hasattr(##, Species), s(get(##/desc))))]</code>
# Set your description to shortcode that will read the description from the item you are currently holding: <code>@desc me=[iter(lcon(me), if(hasattr(##, Species), s(get(##/desc))))]</code>
# Repeat for your species: <code>@species [iter(lcon(me), if(hasattr(##, Species), s(get(##/species))))]</code>
# Repeat for your species: <code>@species [iter(lcon(me), if(hasattr(##, Species), s(get(##/species))))]</code>
# When you want to switch, change which object you are holding: <code>put morph: coyote in exo: morphs ; take exo: morphs's morph: human</code>


Cheers to [[User:Fireheart&]] for the help on this!
Cheers to [[User:Fireheart&]] for the help on this!


— [[User:Makyo|Makyo]] ([[User talk:Makyo|talk]]) 03:45, 15 February 2024 (UTC)
— [[User:Makyo|Makyo]] ([[User talk:Makyo|talk]]) 03:45, 15 February 2024 (UTC)

Revision as of 03:49, 15 February 2024

Separate morphs using objects

  1. Create an object to hold your various morphs. It may as well be an exocortex, yes? Lock it to yourself and set it dark so that others do not see it in your inventory. @create exo: morphs ; @lock exo: morphs=me ; @set exo: morphs=dark
  2. Create one object per description in a similar way: @create morph: coyote ; @lock morph: coyote=me ; @set morph: coyote=dark
  3. Set the description on the object to whatever you want your description to be. @desc morph: coyote=Whatever you want, including substitutions...
  4. Repeat for the species: @set morph: coyote/species=coyote
  5. Repeat for as many morphs as you want. When you are done with a morph, put it in your exo: put morph: human in exo: morphs
  6. Hold the morph you want active in your inventory: take exo: morph's morph: coyote
  7. Set your description to shortcode that will read the description from the item you are currently holding: @desc me=[iter(lcon(me), if(hasattr(##, Species), s(get(##/desc))))]
  8. Repeat for your species: @species [iter(lcon(me), if(hasattr(##, Species), s(get(##/species))))]
  9. When you want to switch, change which object you are holding: put morph: coyote in exo: morphs ; take exo: morphs's morph: human

Cheers to User:Fireheart& for the help on this!

Makyo (talk) 03:45, 15 February 2024 (UTC)