Amy's recipes for instantly building useful objects, and disposing of them when you're done with them.

Ultra Lightweight Vehicle

It uses one Thing, two Exits, and zero Rooms. It is cleanly disposed of with one @recycle. Bugs have been fixed, it is now as functional as a normal vehicle.

@create Ore Sledge=10=tmp/it/thing1
@set $tmp/it/thing1=V
@set $tmp/it/thing1=Z
@desc $tmp/it/thing1=A chunky, utilitarian hover-vehicle with a flat top and open cockpit. (board sledge)
@idesc $tmp/it/thing1=You're in the cab of a chunky, utilitarian hover vehicle.  (fly/scan/out){nl}Location:  {name:{loc:here}}
@action board sledge=$tmp/it/thing1=tmp/it/exit2
@link $tmp/it/exit2=$tmp/it/thing1
@propset $tmp/it/exit2=str:/_/osc:hops aboard the Ore Sledge.
@propset $tmp/it/exit2=str:/_/sc:You hop aboard the Ore Sledge.
@action scan;out;leave;exit;fly=$tmp/it/thing1=tmp/it/exit1
@link $tmp/it/exit1=$nothing.muf
@propset $tmp/it/exit1=str:/_/de:@$Window.muf
@propset $tmp/it/exit1=lock:/_/lok:me|!me
@propset $tmp/it/exit1=str:/_/sc:{null:{exec!:action/{&cmd}} }
@propset $tmp/it/exit1=str:/_object:dbrefofobj
@propset $tmp/it/exit1=str:/goto:dbrefofobj
@propset $tmp/it/exit1=str:/action/exit:{muf:#2851,{&arg}}
@propset $tmp/it/exit1=str:/action/leave:{muf:#2851,{&arg}}
@propset $tmp/it/exit1=str:/action/out:{muf:#2851,{&arg}}
@propset $tmp/it/exit1=str:/action/fly:{muf:#6489,{&arg}}
@propset $tmp/it/exit1=str:/action/scan:{muf:#5566,{&arg}}
@mpi {store:{subst:{ref:$tmp/it/thing1},#,},goto,{ref:$tmp/it/exit1}}
@mpi {store:{subst:{ref:$tmp/it/thing1},#,},_object,{ref:$tmp/it/exit1}}

Completely recycle it by:

@recycle $tmp/it/thing1

Instant Communicator

@create minicomm=10=tmp/minicomm/card
@tel $tmp/minicomm/card=me
@link $tmp/minicomm/card=me
@propset $tmp/minicomm/card=str:/_/de:A slim metal business card, all electronics sealed, engraved with "buttons" marking touch-control points and a "speaker grille" near the mic.  'com' to transmit, 'switch' to change channels, 'com #help' for more info.
@action com;pub;switch;squelch=$tmp/minicomm/card=tmp/minicomm/ctrl
@link $tmp/minicomm/ctrl=#3687
com #setup
pub Test

Un-setup and recycle instant communicator:

@tel $tmp/minicomm/card=me
com #unsetup
@recycle $tmp/minicomm/card

Instant vehicle copy-and-paste

A more traditional vehicle with these newfangled "room" things. May be better to just use editvehicle.

@dig Cockpit==tmp/iv/room1
@tel $tmp/iv/room1=#2473
@create Shuttle=10=tmp/iv/thing1
@set $tmp/iv/thing1=V
@set $tmp/iv/thing1=Z
@set $tmp/iv/thing1=_listen:6860
@mpi {store:{subst:{ref:$tmp/iv/room1},#,},listen/dest,{ref:$tmp/iv/thing1}}
@action Board Shuttle=$tmp/iv/thing1=tmp/iv/exit1
@link $tmp/iv/exit1=$tmp/iv/room1
@action out=$tmp/iv/room1=tmp/iv/exit2
@link $tmp/iv/exit2=#2851
@mpi {store:{subst:{ref:$tmp/iv/thing1},#,},goto,{ref:$tmp/iv/exit2}}
@action scan=$tmp/iv/room1=tmp/iv/exit3
@link $tmp/iv/exit3=#5566
@mpi {store:{subst:{ref:$tmp/iv/thing1},#,},goto,{ref:$tmp/iv/exit3}}
@action fly=$tmp/iv/room1=tmp/iv/exit4
@link $tmp/iv/exit4=#6489
@lock $tmp/iv/exit4=me|!me
@mpi {store:{subst:{ref:$tmp/iv/thing1},#,},_object,{ref:$tmp/iv/exit4}}
@desc $tmp/iv/thing1=A small prefab shuttlecraft with room for two.  (board shuttle)
@desc $tmp/iv/room1=The cockpit of this shuttlecraft has two roomy seats and standard-looking controls.  (fly/scan/out)
@succ $tmp/iv/exit1=You board the shuttle.
@osucc $tmp/iv/exit1=boards the shuttle.
@succ $tmp/iv/exit2=You depart the shuttle.
@osucc $tmp/iv/exit2=departs the shuttle.
drop shuttle

Completely recycle instant vehicle:

@recycle $tmp/iv/exit1
@recycle $tmp/iv/exit2
@recycle $tmp/iv/exit3
@recycle $tmp/iv/exit4
@recycle $tmp/iv/room1
@recycle $tmp/iv/thing1

Amy/Building (last edited 2019-09-26 11:33:09 by Amy)