IF DEAD, @warp

	SET sceneLock, 0
	ACTOR	9,"", danNoFloat, 6, 5, 10

	@campfire
IF -I99, @noWood
	ACTOR	8,"", danNoFloat, 4, 50, 85
	COMPARE #<fireLight>, 0
	IF> @leftLit
@noWood ;Hahaha... no wood... get it?
	STRCMP #<str.soul>, "669C1452"
	IF= @45hf38sjr
	STRCMP #<str.soul>, "76B7F513"
	IF= @45hf38sjr
	STRCMP #<str.soul>, "SOUL 2662"
	IF= @45hf38sjr
	IF M2, @3Un37yT63
	IF M0, @6he74hYeb4
#include Darkweed.txt
	END
@eventActorClick8
	COMPARE #<fireLight>, 0
	IF= @light
	MENU "Put fire out=@putOut","Cook food=@cook","Cancel=@cancel"
	END

@putOut
	SET fireLight, 0
COMPARE #<night>, 0
IF> @recolor2
GOTO @nothing2

@recolor2
COLOR 14

@nothing2
COMPARE #<rain>, 0
IF> @rainOff
	THEME 0
	SELECT 8
	POSE 4
	N: You put out the campfire.
	END
@rainOff
	THEME 2
	SELECT 8
	POSE 4
	N: You put out the campfire.
	END

@leftLit
	SET fireLight, 0
	GOTO @campfire
	END
	

@light
	MENU "Light a Campfire=@flamerz", "Cancel=@cancel"
	END
@flamerz
COMPARE #<num.item99>, 0
IF> @ok99
N: You don't have any matches!
GOTO @cancel
@ok99
COMPARE #<num.item98>, 0
IF> @ok98
N: You don't have any firewood!
GOTO @cancel
@ok98
TAKE I99
TAKE I98
SET fireLight, 1
COMPARE #<night>, 0
IF> @recolor
GOTO @nothing
@recolor
COLOR 0

@nothing
	SELECT 8
	POSE 1,2,3
	WAIT 1.0 
COMPARE #<rain>, 0
IF> @campRain
	THEME 6
END
@campRain
	THEME 20
END
@cancel
	END
END

@eventActorClick9
	COMPARE #<sceneLock>, 0
	IF= @lockScene
	LOCK 0
	SET sceneLock, 0
	SEL 9
	POSE	6
	END
@lockScene
	LOCK 1
	SET sceneLock, 1
	SEL 9
	POSE	5 
	END

;--------------------------------------------
;--------Cooking section---------------------
;--------------------------------------------
TOKEN T3910, "Repeatedly Cooking"

@cook
N: What would you like to cook?
MENU "Meat=@meat","Fried Meat=@fMeat","Fish=@fish","Fried Fish=@fFish","Bread Dough=@dough","Bread=@bread","Mushroom Pizza=@pMush","Fried Mushrooms=@fMush","Distill Contaminated Water=@water","Lettuce, Onion, and Cheese Sandwich=@sandwich","Cancel=@cancel2"
@cancel2
END
@meat
IF -I41, @n0tEnough
TAKE I41
N: You take the meat and cook it.
WAIT 2.0
SOUND summon4.wav
IF R20, @burn
N: You cooked some meat.
GIVE I56
END

@fMeat
IF -I41, @n0tEnough
IF -I49, @n0tEnough
IF -I53, @n0tEnough
TAKE I41
TAKE I49
TAKE I53
N: You make a batter with flour and beer.
WAIT 2.0
N: You cook the meat with the batter
SOUND summon4.wav
WAIT 2.0
IF R18, @burn
N: You fried some meat.
GIVE I58
END

@fish
IF -I42, @n0tEnough
TAKE I42
N: You take the fish meat and cook it.
SOUND summon4.wav
WAIT 2.0
IF R20, @burn
N: You cooked some fish.
GIVE I57
END

@fFish
IF -I42, @n0tEnough
IF -I49, @n0tEnough
IF -I53, @n0tEnough
TAKE I42
TAKE I49
TAKE I53
N: You make the batter with flour and beer.
WAIT 2.0
N: You cook the fish with the batter
WAIT 2.0
IF R18, @burn
N: You fried some fish.
GIVE I59
END

@dough
IF -I49, @n0tEnough
IF -I51, @n0tEnough
TAKE I49
TAKE I51
N: You mix water and flour and make some dough.
WAIT 2.0
GIVE I50
END

@bread
IF -I50, @n0tEnough
TAKE I50
N: You bake the bread
WAIT 2.0
IF R15, @burn
N: You made some bread
GIVE I60
END

@pMush
IF -I45, @n0tEnough
IF -I50, @n0tEnough
TAKE I45
TAKE I50
N: You flatten the dough and fill it with cheese and mushrooms
WAIT 2.0
N: You bake the pizza
WAIT 2.0
IF R18, @burn
N: You made a mushroom pastry
GIVE I61
END

@fMush
IF -I45, @n0tEnough
IF -I49, @n0tEnough
IF -I53, @n0tEnough
TAKE I45
TAKE I49
TAKE I53
N: You make a batter with beer and flour
WAIT 2.0
N: You cook the mushrooms with the batter
WAIT 2.0
IF R15, @burn
N: You made fried mushrooms
GIVE I62
END

@water
IF -I52, @n0tEnough
TAKE I52
N: You put the contaminated water in a pot
WAIT 1.0
N: You distill the water
WAIT 2.0
IF R20, @burn
N: You successfully distilled the water
GIVE I51
END

@sandwich
IF -I46, @n0tEnough
IF -I47, @n0tEnough
IF -I48, @n0tEnough
IF -I60, @n0tEnough
TAKE I46
TAKE I47
TAKE I48
TAKE I60
N: You cut the lettuce and onion
WAIT 2.0
N: You cut the cheese
SOUND fart.wav
WAIT 2.5
N: Then you put it all between two bread slices.
IF R25, @burn
GIVE I63
N: You successfully cooked a sandwich!
END

@burn
SOUND cough.wav
N: You burned it!
END
@n0tEnough
N: You don't have enough items to take this action.
END
;--------------------------------------------

@6he74hYeb4
N: You cheated, so goodbye to you!!
N: In case you don't understand, the world is meant to be played without the standard WoS cheats, unless you're helping to develop this world.
N: In the future, there will be special cheat passcodes to enter in a special scene. 
N: It's a real bummer if you cheated and had to start a lv. 100 character over again!!
GOTO LINK	0,0
END
@3Un37yT63
N: You have attempted to mod this world. You have upset the creators.
N: Modders are worse scum than cheaters. Next time, don't mod the world.
N: Go reinstall Darkwood if you have to!
GOTO LINK	0,0

END

@45hf38sjr
#include Darkweed.txt
END

@warp
#include innwarp.txt
END