Fen Dweller
8fd740f92a
Allow mouseover of buttons that are disabled
5 vuotta sitten
Fen Dweller
47bc425a94
Fix actions not being available again once their conditions are met
5 vuotta sitten
Fen Dweller
2374ee0bdb
Allow text to contain HTML tags
5 vuotta sitten
Fen Dweller
7b59b7919a
Switch colors from anonymous functions to getters
5 vuotta sitten
Fen Dweller
251c2fa7a2
Allow for stat bar colors to change
5 vuotta sitten
Fen Dweller
5311056b65
Add info block to stories+tags for tooltips; force body to be the screen size
This causes things to overflow in-game. Will work on that next.
5 vuotta sitten
Fen Dweller
a36d966d3f
Stop passing the state around manually
It was a nice idea to explicitly pass state to everything,
but it didn't really provide any benefits (we only ever have one
game going at once), the rule was already violated (some places
used the global instance of state), and it added a lot of clutter.
Also removed the unused entity.js file.
5 vuotta sitten
Fen Dweller
f4cc337b78
Tell the player how long they survived (fen-snack)
5 vuotta sitten
Fen Dweller
6de0f82371
Add an alleged escape
6 vuotta sitten
Fen Dweller
64cef011c9
Add thrash, adjust game-over bowel text
6 vuotta sitten
Fen Dweller
d47c768f5d
Add clenches pulling down to the bowels
6 vuotta sitten
Fen Dweller
e2e0afb37c
Add random print function, plus a use in fen-snack
6 vuotta sitten
Fen Dweller
204ac4c68e
Remove the room property from the timer logic
6 vuotta sitten
Fen Dweller
e92b2f1a50
Drop usage of the room attribute for timers
6 vuotta sitten
Fen Dweller
794ab0cec7
Fix a typo and a missing exit argument
6 vuotta sitten
Fen Dweller
6411a3cd06
Add missing data entries
6 vuotta sitten
Fen Dweller
f26e585db9
Add simple example of room stats
6 vuotta sitten
Fen Dweller
6810672d2d
Consolidate info update into one function; add area info
6 vuotta sitten
Fen Dweller
c44ab73724
Make world info work like player stats
6 vuotta sitten
Fen Dweller
03d7d17d1b
Add number stat type
6 vuotta sitten
Fen Dweller
0885a80609
Fixed a word
6 vuotta sitten
Fen Dweller
00878e9c40
Added a function to change stats w/ automatic bounds checking
6 vuotta sitten
Fen Dweller
f76531afdb
Text tweaks, fixed stamina going negative
6 vuotta sitten
Fen Dweller
2c75fb228a
Some story tweaks, including timers in timers!
6 vuotta sitten
Fen Dweller
caaf2d7753
Timers can change their delay. They also get their own config.
6 vuotta sitten
Fen Dweller
2f6e27bd1e
Audio can be preloaded before the game begins
6 vuotta sitten
Fen Dweller
853b1bd5a0
Added some to the tech demo
6 vuotta sitten
Fen Dweller
0c36e97cd4
More sounds, time, etc. for the Fen story
6 vuotta sitten
Fen Dweller
24208832d2
Added new sounds
6 vuotta sitten
Fen Dweller
9fe021ea4e
Added some random events to each area. Fixed a bug where timers could not stop themselves
6 vuotta sitten
Fen Dweller
0e0a601ac4
Added tags to each story
6 vuotta sitten
Fen Dweller
0167d40608
Made stats into nice looking meters
6 vuotta sitten
Fen Dweller
3ee4c9a4cb
Added a function to introduce the story
6 vuotta sitten
Fen Dweller
9715a6c272
Significantly improved the fen-snakck story
6 vuotta sitten
Fen Dweller
1b451e853b
Made stats more generic
6 vuotta sitten
Fen Dweller
4d1208af7d
Added background color control.
6 vuotta sitten
Fen Dweller
3fc24bfeec
Submission cancels the timer
6 vuotta sitten
Fen Dweller
05b4ae6f73
Fixed the tech demo missing a setup function
6 vuotta sitten
Fen Dweller
454b4b7627
Cleaned up timers; stories have a setup function. Added digestion to the fen-snack story
6 vuotta sitten
Fen Dweller
6f641eac69
Worked on the Fen story. Moves have descriptions. Added exit function equivalents for exits themselves
6 vuotta sitten
Fen Dweller
e574c7fb9f
Rooms have separate exit/enter functions as well as the one for moving in.
6 vuotta sitten
Fen Dweller
52e67c1d44
Started self-indulgent story
6 vuotta sitten
Fen Dweller
b996b09ce6
Game starts at a place defined by the story
6 vuotta sitten
Fen Dweller
dbd3a5afc4
Created a very basic story selector
6 vuotta sitten