Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Για μεταφραση ιδέες https://github.com/paravaariar/adventuron_french_notes
- start_at = outside_cave
- ## Defines locations in the world
- locations {
- lakeside : location "You are by the side of a beautiful lake." ;
- outside_cave : location "You are outside a cave. The entrance lies north." ;
- treasure_room : location "You are in a room of treasures." ;
- }
- # Defines things in the world (scenery cannot be carried)
- objects {
- apple : object "an apple" msg="Delicious." at = "lakeside";
- troll : scenery "an enormous troll" at = "outside_cave" msg="Hungry.";
- }
- connections {
- ## Connects locations together (bidirectional)
- from, direction, to = [
- lakeside, north, outside_cave
- outside_cave, north, treasure_room,
- ]
- }
- barriers {
- ## Blocks Access To Cave Whilst Troll Exists (with message)
- block_cave : block {
- location = treasure_room
- message = The troll is guarding the cave.
- block_when_exists = troll
- show_blocked_exit = true
- }
- }
- ## Print the objective when the game starts
- on_startup {
- : print "CAVE OF MAGIC !" ;
- : print "ΕΞΕΡΕΥΝΗΣΤΕ ΤΟΝ ΧΩΡΟ." ;
- : print "MOVE by typing Βόρεια(Β)/North,Ανατολικά(Α)/East,Δυτικά(Δ)/West, Νότια(Ν)/South." ;
- : press_any_key ;
- }
- ## Execute this every time a player moves or redescribes a location
- on_describe {
- : if (is_at "treasure_room" ) {
- : print "CONGRATULATIONS YOU FOUND THE TREASURE. YOU WIN!" ;
- : win_game ;
- }
- }
- ## Test VERB NOUN that the player types and executes conditional actions
- on_command {
- : match "give apple" {
- : if (is_present "troll" && is_carried "apple") {
- : print "The troll eats the apple then wanders off." ;
- : destroy "apple" ;
- : destroy "troll" ;
- }
- }
- }
- themes {
- mytheme : theme {
- # order of the compass directions matters, and must be translated in full (all 12)
- system_messages {
- #compass = [north, northeast, east, southeast, south, southwest, west, northwest, up, down, inside, outside]
- compass = [Βόρεια, northeast, Ανατολικά, southeast, Νότια, southwest, Δυτικά, northwest, up, down, inside, outside]
- compass_short = [n, ne, e, se, s, sw, w, nw, u, d, in, out]
- }
- }
- }
- vocabulary {
- // Here we assocated new words with the already supported english system vocab
- : verb / aliases = [e, Α ,ανατολικά ,ανατολικα ]
- : verb / aliases = [south, Ν ,Νότια ,Νοτια ]
- : verb / aliases = [north, Β ,Βόρεια ,ΒΟΡΕΙΑ ]
- : verb / aliases = [west, Δ ,Δυτικά ,δυτικά ]
- : verb / aliases = [examine, εξέτασε,ΕΞΕΤΑΣΕ ]
- : verb / aliases = [get, ΠΑΡΕ, πάρε ]
- : verb / aliases = [drop,ρίξε,ριξε,αφησε,άφησε , droptranslated ]
- : verb / aliases = [inventory,τσέπες,τσεπες, inventorytranslated ]
- : verb / aliases = [look, κοίτα,δες,κοιτα ]
- : verb / aliases = [quit, quittranslated ]
- : verb / aliases = [help, βοήθεια,βοηθεια, helptranslated ]
- }
- assets {
- graphics {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement