And maybe we all might learn some new things about the game by combining a few of these!
Forum
Stranded II General Your item scripts.Your item scripts.
4 replies 1
And maybe we all might learn some new things about the game by combining a few of these!
For items_edible:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
### Coconut Milk id=125 name=Coconut Milk group=potion icon=gfx\water.bmp model=gfx\water.b3d scale=0.28 mat=glass weight=450 info=milk squeezed out of coconuts script=start on:eat { process "drinking",1000; drink 5,10,30,0; } script=end ### Coffee id=130 name=Coffee group=potion icon=gfx\juice.bmp model=gfx\juice.b3d scale=0.28 mat=glass weight=450 info=mmmm, fresh coffee script=start 	on:eat { 		process "drinking",1000; 		drink 20,15,40,20; 	} script=end
And for combinations_potions:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
### Coconut Milk (1xCoconut + Stone) combi=start id=125 req=27,1 req=23,1,stay gen=125 script=start play "bubbles.wav"; process "squeezing coconut",2270; script=end combi=end ### Coffee (30xCoffee Fruits + Water + Stone) combi=start id=juice req=70,30 req=23,1,stay req=38,1 gen=130 script=start 	play "bubbles.wav"; 	process "brewing coffee",2270; script=end combi=end
Also created a buildable raptor you can ride without worries of him dumping you. And he doesn't run off when you jump off him.
units file:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
### Buildable Raptor id=80 name=Buildable Raptor group=vehicle model=gfx\raptor.b3d icon=gfx\raptor.bmp scale=0.5 colxr=15 colyr=30 health=110 eyes=10 turnspeed=3.0 ani_idle1=4,8,0.02 ani_move=2,3,0.06 ani_die=8,11,0.05 fx=24 speed=20 sfx=raptor rideoffset=5 col=1 steering=0 behaviour=vehicle script=start 	on:use { ride; } 	on:kill { free "self"; } 	on:build_finish { 		event "raptorbuild",0,0; 	} 			 script=end
And for Buildings
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
### Buildable Raptor id=80 group=vehicle unitid=80 req=96,5 req=71,30 req=95,30 req=94,30
I think you'll have to put "unlockbuilding 80" under one of the other buildings to unlock it.
Also, if you change the raptor's behavior to "aircraft" he'll fly! its kinda funny.
edited 1×, last 28.06.09 04:13:00 am
1