Brahman.1

@turnip

removing the front end parser is really just to present a choice game with inventory. The difference from a straight choice game is that some choices come from your inventory.

My examples were a bit misleading because i used them to generate a parser game “get cat food” etc. I shall have to make some examples that demonstrate the the main idea. The parser game is actually harder to make, so that’s one reason why i had those examples - to show that quite general things can be done.

I wont be showing any verb/action combinations. Basically, the verb is always implied. You click on something in the inventory and it will “use” it in the current situation. Basically, there won’t be a choice on how to use a given thing in a given situation.

For example, if you had a dark corridor, selecting the flashlight from the inventory will automatically use the flashlight to enter the corridor.

I need to write part 2.

@HanonO

Thanks for the links to yarnscript. I didn’t know about this. Looks like useyarn is planning on rolling out their own authoring system. Up until now, it looked like a twine container.

My script language is considerably more advanced that yarnscript. I don’t see any actions defined and the properties described I can easily accommodate.

Here’s the first yarnscript example in brahman:

[code]create a “place” as container.
create the “pond” as a place.
create “animal” as mobile.
create “frog” as animal.
create (“Kermit” as frog) in the pond.
create “pig” as animal.
create “Miss” as adjective.
create (Miss “Piggy” as pig) in the pond.
set kermit as “It’s Kermit the frog!”

create implicit “loverof” as preposition.
put kermit loverof miss piggy.

create (the “player” as mobile) in pond.
become the player.[/code]

play it!

[code]You are in the pond.
The pond is ordinary.
You can see Kermit and Miss Piggy here.

What now? describe all in pond
It’s Kermit the frog! Miss Piggy is ordinary. You are ordinary.
You are in the pond.
The pond is ordinary.
You can see Kermit and Miss Piggy here.

What now? describe what is loverof miss piggy
It’s Kermit the frog!
[/code]

We can go further and make use of loverof. make a verb.

create "kiss" as verb. kiss mobile "X" means ( if what is loverof "X" in here then ( think (what is loverof "X"), " says hey!!" ) else think "you give ", "X", " a kiss." )

play it.

[code]What now? kiss miss piggy
Kermit says hey!!
You are in the pond.
The pond is ordinary.
You can see Kermit and Miss Piggy here.

What now? kiss kermit
You give Kermit a kiss.
[/code]

any comments from Mr Yarn?