Skip to content

Releases: ThunderSOS/1984

Latest demo library + cloak + 1984.

Choose a tag to compare

@ThunderSOS ThunderSOS released this 19 Sep 19:07

Features latest incarnation of the Npc Configuration, trading config in particular is slightly simplified.
Auxiliary messages in force everywhere where needed for situations that need alternative messages depending on plurality or gender, that kind of thing.
Better validation on Npc config too - more invalid or incomplete config options are rejected at start up.

Latest Playable Demo + Cloak of Darkness.

Choose a tag to compare

@ThunderSOS ThunderSOS released this 11 Sep 19:34

Internationalization updates.
Introduce system.properties to allow the author to decide what word ordering in item names is relevant (adjective before noun or vice versa).
This isn't applicable to to non Latin languages...

Playable demo + Cloak of Darkness (in English)

Choose a tag to compare

@ThunderSOS ThunderSOS released this 06 Sep 21:57

Allows for

  • adjective / noun or noun / adjective item names - meaning I think we do finally have the ability to declaratively support at least French and some other European languages.
  • noun and adjective attributes are properly supported (they were there before but a bit of an afterthought) and some hardening of the interpretation there. noun overrides name. Adjective isn't considered if name is available.
  • Also languageSettings added to game.xml in which you can define the adjectiv noun order and further article split definitions.
    So " " (a single space) is usually expected as the character to split an article from a noun but in French at least you often have something like 'L'ARMOUR' so we need L' to be ignored.

Latest Playable Demo

Choose a tag to compare

@ThunderSOS ThunderSOS released this 04 Sep 20:28

This release fully supports Internationalizable direction definitions.
Fixed a 12 hour clock set time issue - you couldn't set a pm time for the initial game clock start time. Only matters for the 12 hour clock because that's the only one that has am/pm.
Cloak of Darkness needed a new event for the dark room Interceptor. Moving back out of the dark bar area fires an event if you have the interceptor defined - I defined the interceptor but not the event...

Latest Playable Demo + Cloak of Darkness

Choose a tag to compare

@ThunderSOS ThunderSOS released this 31 Aug 21:00

This release contains a few significant updates:

  • Introduce Interceptors - this is before the player command is run processing, tag based events a bit like the room renderers.
  • Completely remove word ordering dependency in the Sentence parser (this may help with internationalization).
  • Ability to specify the directory to run from on the command line, you can finally do run cloak_of_darkness instead of renaming the directory.
  • Oh and added 16 point compass support. I wrongly thought you could just add it yourself if you really want it but the extra directions do need to be defined. I will have to have another look at the DirectionHandler class, you can't map any old verb to it at the moment like you can with the other handlers.

Latest Playable Demo + Cloak of Darkness

Choose a tag to compare

@ThunderSOS ThunderSOS released this 26 Aug 09:46

Refined verb handler selection rules
Fixed DROP item bug (NPE if item doesn't exist)
RoomItems and Container items xsimpler to declare.e.g. <roomItems itemIds = "1|2|3"/>

Playable Demo - Mainly Cloak of Darkness.

Choose a tag to compare

@ThunderSOS ThunderSOS released this 17 Aug 21:58

Includes support for Adverb rules mechanism - only one rule exists as yet but I guess that will open up as we go along.
Cloak of Darkness still supports PUT ON CLOAK and PUT CLOAK ON HOOK but in a slightly more generic and author definable way.

Latest Demo + Cloak of Darkness updates,

Choose a tag to compare

@ThunderSOS ThunderSOS released this 14 Aug 17:42

Differentiate between PUT a ON b and PUT ON a (or PUT a ON).
So TAKE OFF CLOAK, PUT ON CLOAK, WEAR CLOAK, PUT/HANG CLOAK ON HOOK should all work as expected now.
Fixed a couple of XML issues.

Lib updates + Cloak Updates

Choose a tag to compare

@ThunderSOS ThunderSOS released this 11 Aug 15:06

Update library and Cloak demo so both support PUT CLOAK ON HOOK as an alternative to HANG CLOAK ON HOOK.
Put is a built-in Verb usually exclusively handled buy the PutHandler but PUT ON should be scriptable which means using the AdverbHandler for this form of the verb. This in turn needed a little bit of jiggery pokery with the Sentence parser and the DoTaskHandler in order to handle the Adverb properly in this specific circumstance (i.e when the Verb takes prepositions as an alternative structure).

You can still define ON as a preposition instead. Then things like PUT x ON TABLE will work.
But at the moment you can't have both as you can't pass the item to the Task interpreter as a variable.

Cloak of Darkness + library adjustments

Choose a tag to compare

@ThunderSOS ThunderSOS released this 10 Aug 20:13

Let's allow EXAMINE/EXAM/X to work as well as read in Cloak of Darkness. So we factor out an event that both READ MESSAGE and EXAM MESSAGE use.
The difference is EXAM will give you the price of the MESSAGE as well (it's not worth anything).
Also pared down the TASK verbs to just those you actually need for this game.

Couple of bug fixes and refactorings in the main library. Most important is the room onEntered event now runs before the room description is output giving the event a chance to update the room before the description happens.
Also runNpcState action was ignoring the nextState! Which causes all sorts of problems when you really need it.
Refactored some of the trading stuff so internally it's a bit prettier.