Outsiders TruckThis is a featured page

This is the Outsiders Truck code that was used for years. It's in raw format as it was just copy/pasted. You'll need
to have some code savvy to create it. It was coded by Kael, make sure you add the Coders' name in the code out of respect for their hard work. Thanks!




Black F-150

Type: THING Flags: COMMANDS TERSE VISUAL DARK SAFE HALTED OPAQUE
This jacked up black Ford F-150 Supercab has been modified quite heavily, protective bars are welded to the front of the beast replacing the bumper all together, diamond plate reinforces the sides. Heavy polymer plating is bolted to the bottom of the chasis to protect the machinery from Offroad damage. Thick rollbars rise up from behind the cab, tubular-rails and bench-boxes span the length of the bed. %rA large brake-light occupies the custom tailgate emblazoning "The Outsiders" in brilliant red.%r Other features include Zero-presure rubber and chrome detailing.%r %r[get_Eval(me/boyz)]
Owner: Kael Key: Dark Metal - The Heart of the Machine Noogies: 1
RxLevel: Real
TxLevel: Real
Ealias: Ford
Lalias: o
COM_SCAN: $+scan:look
CL: 1
SPEED: 0
LIGHTS_ON: on
LIGHTS_OFF: off
LIGHTS: on
SCAN: $scan:@pemit %#=You look out the window and see..%r%r[Setq(7,Loc(me))][Name(%q7)]%r[Get_Eval(%q7/Desc)]%r%rContents:[Iter(Lcon(%q7),Switch(And(Match(type(##),PLAYER),Not(HasFlag(##/CONNECTED))),1,,%r[Name(##)]))]%r%rObvious Exits%r[Iter(Lexits(%q7),[Name(##)]%b)]
Enter: You climb up into the [name(me)].
Oenter: gets in the [name(me)].
Oxenter: climbs up and into the [name(me)].
Filter: {*has arrived.},{*has left.}
Leave: You get out of the [name(me)].
Oleave: gets out of the [name(me)].
Oxleave: gets out of the [name(me)].
Fail: You can't lift the [name(me)], it is too HEAVY.
Ofail: tries to lift the [name(me)] and fails.
Efail: You try to enter the [name(me)]'s cab but the door is locked and refuses to open.
Omove: rumbles in kicking up dust
Inprefix: Outside:
SCAN_OBJECT: $scan *:look %0
Listen: *
ENGINE_OFF: off
ENGINE_ON: running
ENGINE: off
START_MES: growls to life
STOP_MES: turns off
MOVE_MES: rumbles along
ACC_MES: speeds up to
DEC_MES: slows to
BRAKE_SUDDEN_MES: skids to a stop
BRAKE_SLOW_MES: rolls to a stop
LIGHTS_ON_MES: turn on
LIGHTS_OFF_MES: turn off
REV_MES: growls menacingly
COM_START_ENGINE: $on:@switch [v(engine)]=[v(engine_on)],{@pemit %#=[name(me)]'s engine is already running.},{@pemit/contents me=%N presses %p finger against the starter pad and [name(me)]'s engine [v(start_mes)].;@emit [name(me)]'s engine [v(start_mes)].;&engine me=[v(engine_on)];&speed me=0}
COM-LOCK: $lock:@switch [v(cl)]=1,{@pemit %#= [name(me)]'s console is already locked.},{@pemit/contents me=%N locks [name(me)]. ;@emit %N locks [name(me)]. ;@lock me=#0;@set me=!Enter_Ok;&cl me=1}
COM-UNLOCK: $unlock:@switch [v(cl)]=0,{@pemit %#=The [name(me)]'s console is already unlocked.},{@pemit/contents me=%N touches the entry pad and [name(me)]'s console unlocks with a click.;@emit %N unlocks [name(me)].;@unlock me;@set me=Enter_ok;&cl me=0}
COM-DRIVE: $t *:@switch [com([v(engine)],[v(engine_on)])]=0,{@pemit %#=[name(me)]'s engine is not running.},{@switch [gt([v(speed)],0)]=0,{@pemit %#=[name(me)] will not drive if you do not push on the gas.},{@pemit/contents me=%N drives [name(me)] [name(%0)].;@emit [name(me)] [v(move_mes)] at [v(speed)] MPH.;go %0}}
COM-ACCELERATE: $acc *:@switch [v(engine)]=[v(engine_off)],{@pemit %#=[name(me)]'s engine is not running.},{&speed me=[add([u(me/speed)],[v(0)])];@pemit/contents me=%N opens up the throttle and [name(me)] [v(acc_mes)] [v(speed)] MPH.;@emit [name(me)] [v(acc_mes)] [v(speed)] MPH.}
COM-DECELERATE: $dec *:@switch [v(engine)]=[v(engine_off)],{@pemit %#=[name(me)]'s engine is not running.},{@switch [lte([sub([u(me/speed)],[v(0)])],0)]=1,{@pemit %#=[name(me)]'s speed can not descrease below 1 MPH.},{&speed me=[sub([u(me/speed)],[v(0)])];@pemit/contents me=%N eases up on the throttle and [name(me)] [v(dec_mes)] [v(speed)] MPH.;@emit [name(me)] [v(dec_mes)] [v(speed)] MPH.}}
COM-BRAKE: $brake:@switch [v(speed)]=0,{@pemit %#=You push on the brake, but since [name(me)] was not moving, nothing happens.},{@switch [gt([v(speed)],25)]=1,{@pemit/contents me=%N slams on the brakes and [name(me)] [v(brake_sudden_mes)].;@emit [name(me)] [v(brake_sudden_mes)].;&speed me=0},{@pemit/contents me=%N pushes on the brakes and [name(me)] [v(brake_slow_mes)].;@emit [name(me)] [v(brake_slow_mes)].;&speed me=0}}}
COM-HORN: $honk:@pemit/contents me=%N presses down on the horn.;@emit [name(me)]'s horn [v(horn_mes)].
COM-LIGHTS-ON: $lights on:@switch [v(lights)]=[v(lights_on)],{@pemit %#=[name(me)]'s headlights are already on.},{@pemit/contents me=%N turns on the headlights.;@emit [name(me)]'s headlights [v(lights_on_mes)].;&lights me=[v(lights_on)]}
COM-LIGHTS-OFF: $lights off:@switch [v(lights)]=[v(lights_off)],{@pemit %#=[name(me)]'s headlights are already off.},{@pemit/contents me=%N turns off the headlights.;@emit [name(me)]'s headlights [v(lights_off_mes)].;&lights me=[v(lights_off)]}
COM-ENG-IDLE: $idle:@switch [v(engine)]=[v(engine_off)],{@pemit %#=[name(me)]'s engine is not running.},{@pemit/contents me=%N lets [name(me)]'s engine settle into a low idle.;@emit [name(me)]'s engine [v(idle_mes)].}
COM-SQUEAL-TIRES: $squeal:@switch [v(engine)]=[v(engine_off)],{@pemit %#=[name(me)]'s engine is not running.},{@switch [v(dyne)]=[v(dyne_on)],{@pemit %#=You can't squeal [name(me)]'s tires while it's flying.},{@pemit/contents me=%N [v(squeal_in_mes)].;@emit [name(me)] [v(squeal_out_mes)].}}
COM-REV-ENGINE: $rev:@switch [v(engine)]=[v(engine_off)],{@pemit %#=[name(me)]'s engine is not running.},{@pemit/contents me=%N pushes on the gas.;@emit [name(me)]'s engine [v(rev_mes)].}
COM-CAR-TALK: $ct ?*:@switch [match([v(blist)], %n)] = 0 ,{@pemit/contents [loc(me)]=Inside the [name(me)], [switch(%0,:,%N %1,\;,%N%1,{%N says, "%0%1"})]},{@pemit/contents [loc(me)]=[switch(%0,:,%N %1,\;,%N%1,{%N says, "%0%1"})]}
COM-STOP-ENGINE: $off:@switch [v(engine)]=[v(engine_off)],{@pemit %#=[name(me)]'s engine is already off.},{@pemit/contents me=%N shuts down the engine and [name(me)] [v(stop_mes)].;@emit [name(me)]'s engine [v(stop_mes)].;&dyne me=[v(dyne_off)];&engine me=[v(engine_off)];&speed me=0}
IDLE_MES: idles down
SQUEAL_IN_MES: holds down the brake, floors the gas, and releases the brake to squeal the tires
SQUEAL_OUT_MES: spins it's tires wildly before peeling out
HORN_MES: blasts obnoxiously
CMD_ACT: $act *:@fo me=%0
COM-PARK: $park:@set me=dark
COM-NOPARK: $!park:@set me=!dark
SHORT-DESC: Black and Stainless steel Jacked up Ford F-150.
LOCK: $+lock:@switch [v(cl)]=1,{@pemit %#=The [name(me)]'s doors are already locked.},{@pemit/contents me=%N locks the [name(me)]'s doors.;@emit %N locks the doors to the [name(me)].;@lock me=#0;@set me=!Enter_Ok;&cl me=1}
UNLOCK: $+unlock:@switch [v(cl)]=0,{@pemit %#=The [name(me)]'s doors are already unlocked.},{@pemit/contents me=%N unlocks the [name(me)]'s doors.;@emit %N unlocks the doors to the [name(me)].;@unlock me;@set me=Enter_ok;&cl me=0}
Aleave: &boyz me=[edit([v(boyz)],%n%r, )];&blist me=[edit([v(blist)], %n, )]
BOYZ: Riding in the Back:%r
COM-BACK: $+back:&boyz me=[v(boyz)]%n%r;@pemit %n=You hop in the back of the [name(me)].;@emit %n hops into the back of the truck.;&blist me=[v(blist)] %n
COM_TEST: $+test:@emit [match([v(boyz)],%n)]
BLIST:
COM-TRUCKHELP: $+truck:@pemit %n======Truck Commands=====%rFord/Out---Enters/Exits%rOn/Off---Starts/Stops Engine%rAcc #/Dec #---Changes the Speed of the Truck%rT (direction)---Drives the Truck%rBrake---Stops the Truck%r+Back---places you in the back of the truck%rCt (message)---Allows you to talk/pose outside the truck%rOt (message)---OOC talk outside the Truck%rPark/!park---Toggles the dark flag%rtp (action)---poses the Truck%remit (message)---@emits outside the Truck.
COM-CAR-TALKOOC: $Ot ?*:@switch [match([v(blist)], %n)] = 0 ,{@pemit/contents [loc(me)]=Inside the [name(me)], **OOC** [switch(%0,:,%N %1,\;,%N%1,{%N says, "%0%1"})]},{@pemit/contents [loc(me)]=**OOC** [switch(%0,:,%N %1,\;,%N%1,{%N says, "%0%1"})]}
COM-EMIT: $emit *:@emit %0
COM-POSE: $tp *: :%0
UseLock: Kael||Barry|Ladon(#21175PeJlU[$o])|Ulrik|Evan(#18365PHJU[$])|Terry|Rasputin|Tiny Plots



Shale
Shale
Latest page update: made by Shale , May 29 2009, 10:48 AM EDT (about this update About This Update Shale Edited by Shale

53 words added

view changes

- complete history)
Keyword tags: mush code
More Info: links to this page
There are no threads for this page.  Be the first to start a new thread.