EDIT: Heres the script I'm making.
### Cart
id=226
fx=???
name=Handcart
group=vehicle
icon=gfx\cart.bmp
model=gfx\cart.b3d
colxr=30
colyr=10
scale=1.5
mat=wood
speed=0.8
turnspeed=0.7
health=265
behaviour=???
rideoffset=60
maxweight=30000
sfx=???
script=start
on:use {
clear;
add "You can move the cart or store stuff.";
add "Which will it be?";
msgbox "Handcart";
local $id;
$id=current_id();
add "exchange 2,$id;";
button 0,"Store stuff",19;
add "ride $id; closemenu;";
button 1,"Drive the raft",8;
add "closemenu;";
button 2,"Do nothing with this raft",3;
freevar $id;
}
on:kill { free "self"; }
on:build_finish {
event "sailraftbuild",0,0;
}
script=end
And yes I know it is a very unproffesional script...
Also what req is fire? As in how would you make a combination require fire?
TRIPLE EDIT: What's wrong with this object_edible? I inspected it and it should work but it doesn't show up in game.
### Beachworm
id=227
name=Beachworm
group=food
icon=gfx\worm.bmp
mat=flesh
weight=7
info=A worm that lives in the sand of coastal areas.
script=start
on:eat {
process "eating",1000;
eat 0,5,-5,0;
}
on:use {
msg "Will be used as bait";
msg "when I fish!";
}
script=end
Sorry for all the script and the fact that it takes space
edited 3×, last 07.05.08 10:08:29 am