Differences between revisions 6 and 7
Revision 6 as of 2018-04-22 13:10:18
Size: 1797
Editor: Amy
Comment:
Revision 7 as of 2018-04-22 13:21:50
Size: 3542
Editor: Amy
Comment:
Deletions are marked like this. Additions are marked like this.
Line 14: Line 14:
Instant vehicle copy-and-paste, no fiddling needed: == Instant vehicle copy-and-paste ==
Line 54: Line 54:
== Experimental zero-rooms object-only vehicle ==

An exercise in minimalism, this only requires three database items.

{{{
@create Ore Sledge=10=tmp/it/thing1
@tel $tmp/it/thing1=
@link $tmp/it/thing1=
@set $tmp/it/thing1=V
@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/leave)
@propset $tmp/it/thing1=str:/_listen/veh:2793
@action scan;out;leave;exit;fly;combo=$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:/action/combo:{tell:Available commands: {commas:{subst:{listprops:action,this},action/,}} }
@propset $tmp/it/exit1=str:/action/exit:{muf:#2851,{&arg}}
@propset $tmp/it/exit1=str:/action/fly:{muf:#6489,{&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/scan:{muf:#5566,{&arg}}
@propset $tmp/it/exit1=str:/goto:dbrefofobj
@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.
@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 experimental object-only vehicle:
{{{
@recycle $tmp/it/exit1
@recycle $tmp/it/exit2
@recycle $tmp/it/thing1
}}}

Amy Lynx

Amy is a morphic lynx who lives in Saint Marin.

Things I want to create on the wiki:

Instant vehicle copy-and-paste

@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=_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 your 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

Experimental zero-rooms object-only vehicle

An exercise in minimalism, this only requires three database items.

@create Ore Sledge=10=tmp/it/thing1
@tel $tmp/it/thing1=
@link $tmp/it/thing1=
@set $tmp/it/thing1=V
@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/leave)
@propset $tmp/it/thing1=str:/_listen/veh:2793
@action scan;out;leave;exit;fly;combo=$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:/action/combo:{tell:Available commands:  {commas:{subst:{listprops:action,this},action/,}} }
@propset $tmp/it/exit1=str:/action/exit:{muf:#2851,{&arg}}
@propset $tmp/it/exit1=str:/action/fly:{muf:#6489,{&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/scan:{muf:#5566,{&arg}}
@propset $tmp/it/exit1=str:/goto:dbrefofobj
@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.
@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 experimental object-only vehicle:

@recycle $tmp/it/exit1
@recycle $tmp/it/exit2
@recycle $tmp/it/thing1


CategoryHomepage

Amy (last edited 2019-09-26 11:29:08 by Amy)