Firelights: inventory, relics and starting vehicle implemented.

This commit is contained in:
Offray Vladimir Luna Cárdenas 2023-12-20 19:06:51 -05:00
parent f2a5a74ca8
commit 5312e322f0
5 changed files with 23 additions and 8 deletions

View File

@ -1,7 +1,8 @@
# RoloLudo
Utilities for table top role playing, starting with [Ironsworn](https://www.ironswornrpg.com/) and
[Starforged](https://www.ironswornrpg.com/product-ironsworn-starforged).
Utilities for table top role playing, starting with [Ironsworn](https://www.ironswornrpg.com/),
[Starforged](https://www.ironswornrpg.com/product-ironsworn-starforged)
and [Firelights](https://firelights.farirpgs.com/).
To install it on Pharo/GToolkit first install [ExoRepo](https://code.tupale.co/Offray/ExoRepo)
and then run from a Playground:
@ -12,12 +13,13 @@ and then run from a Playground:
load.
```
The first utilities connect JSON oracles with the [502Lab wiki](https://mutabit.com/repos.fossil/502Lab/uv/wiki/502Lab.html#) to facilitate translations. In the future it is expected to incorporate different utilities to make the game experience more fluid and minimalistic:
The first utilities connect JSON oracles with the [502Lab wiki](https://mutabit.com/repos.fossil/502Lab/uv/wiki/502Lab.html#) to facilitate translations.
In the future it is expected to incorporate different utilities to make the game experience more fluid and minimalistic:
* Virtual dice.
* Querying of oracles and wiki.
* Bots connected to Telegram or other game channels.
* Querying and editing of character sheets.
* [x] Virtual dice.
* [x] Querying of oracles and wiki.
* [ ] Bots connected to Telegram or other game channels.
* [ ] Querying and editing of character sheets.
**References**:

View File

@ -0,0 +1,6 @@
accessing
inventory
^ inventory ifNil: [
inventory := Dictionary new
at: 'vehicle' put: self vehicle;
yourself]

View File

@ -0,0 +1,3 @@
accessing
relics
^ self inventory at: 'relics' ifAbsentPut: [ nil ]

View File

@ -0,0 +1,4 @@
accessing
vehicle
"This should be replaced y a Vehicle inventory item, with fatigue status."
^ 'criocápsula móvil'

View File

@ -8,7 +8,7 @@
"instvars" : [
"name",
"pronouns",
"relics",
"inventory",
"approaches"
],
"name" : "FirelightsCharacter",