MUCK talk:Cheatsheet: Difference between revisions
(Add separate morphs using objects) |
m (Makyo moved page Talk:MUCK commands to MUCK talk:Cheatsheet: Move into namespace) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
# Hold the morph you want active in your inventory: <code>take exo: morph's morph: coyote</code> | # Hold the morph you want active in your inventory: <code>take exo: morph's morph: coyote</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> | # 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 | # 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) |
Latest revision as of 02:21, 22 February 2024
Separate morphs using objects
- 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
- Create one object per description in a similar way:
@create morph: coyote ; @lock morph: coyote=me ; @set morph: coyote=dark
- Set the description on the object to whatever you want your description to be.
@desc morph: coyote=Whatever you want, including substitutions...
- Repeat for the species:
@set morph: coyote/species=coyote
- 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
- Hold the morph you want active in your inventory:
take exo: morph's morph: coyote
- 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))))]
- Repeat for your species:
@species iter(lcon(me), if(hasattr(##, Species), s(get(##/species))))
- 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!