Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

1. Yes, the theme is changeable. You need to create a theme in a themes section. You MUST however use the treasure_room = your_treasure_room_id and the redescribe = auto_beta 

Beware, a bug exists that stops control + space working in a theme that uses extends = ????, so if you want to use control + space in a theme, I recommend you comment out extends = two beforehand. This bug is in the editor only, not in the game engine.

start_theme   = my_theme
treasure_room = my_treasure_room
redescribe    = auto_beta
// Game code here ......
themes {
   my_theme : theme {
      extends = two
      // Your specialisation goes here (font changes, message changes, etc) ....
    }
}

2. You can make each treasure its own colour by setting up an explicit colour for the object text per-object

gold_lamp : object "<gold lamp<#rgb>>" at="start_location";

Click this link to see  the different text formatting codes.

3. Conversations with NPCs is pretty tough in general given the constraints of the jam. One approach might be to response to TALK XXXX (where XXXX is an npc name) randomly with "ASK ....." or "TELL .....", then write ASK and TELL handlers for the with the noun representing the topic rather than the NPC name. In this case, you would struggle if the NPCs can move. This is all down to the jam constraints. You might also consider an ask_string attached to TALK XXXX (charactername), and print out TOPIC? before taking the string. That way you can make sure you are never handling more than two words.

You can find a sample use of ask_string here.

4. LOOK AROUND messages? You mean examine objects? Or responding to LOOK AROUND? If it's the latter, then I recommend not responding to that. Adventuron uses standard text adventure convention that LOOK by itself will redescribe the current location. LOOK OBJECTNAME or EXAMINE OBJECTNAME or LOOK AT OBJECTNAME or X OBJECTNAME, will map to the examine message (or handler) for the object. LOOK AROUND shouldn't really trigger anything, as most people wouldn't know to type that so if you depend on that, it might be hard.

5. Changing the system messages is a matter of pressing control + space inside a theme (see the snippet above), and there is a section called system_messages {}. By default the TWO (theme)  system messages are short. You can override the full set, or particular ones as you see fit. If you want to use CONTROL + SPACE in the theme section, make sure you don't extend the TWO theme whilst editing (due to an editor bug) - will try to get this fixed soon.

Thank you.

About "look around" - yes, I meant response to this command. I have an idea of mechanics based on “look around”, but if it is so difficult, then maybe I will have to come up with my own expression.

Thank you for the "ask_string" hint, that is exactly what I was looking for.