Fen Dweller
9b569106f6
Add rudimentary tooltips to resources
пре 5 година
Fen Dweller
f964b80055
Weight news so that recent items are less likely to appear
пре 5 година
Fen Dweller
43121ee453
Move the powerup tooltip a bit
пре 5 година
Fen Dweller
4d75a99d92
Make active powerups into icons
пре 5 година
Fen Dweller
388528bbb5
Allow the button to be let go of anywhere. Move version to the side
пре 5 година
Fen Dweller
1121060fe2
Make news scroll past more smoothly
пре 5 година
Fen Dweller
4038bc18fc
Add more news. Add pronoun settings to make news-writing easier
Lets you set subject/possessive/object pronouns, for maximum grammatical validity
пре 5 година
Fen Dweller
d86783c280
Reduce powerup crystal cost; add some food cost. Buff clicking
пре 5 година
Fen Dweller
0a8a750068
Fix typo. Use mousedown instead of click
The big button shrinks a bit when clicked. This could make the
cursor fall off of it when clicking near the edge. I will probably
fix this later by handling the resulting mouseup no matter where it is.
пре 5 година
Fen Dweller
f822195be5
Add a few news items. Make seconds-of-food-per-click configurable. Rescale upgrade colors
Upgrade colors now start from gray, not black.
пре 5 година
Fen Dweller
d0ba81c389
Allow icons to have transforms included. Update the helper icon to show this off
пре 5 година
Fen Dweller
fca19703fa
Add stats for total food and for food from clicks
пре 5 година
Fen Dweller
ace584bbda
Buy 100 with shift, not 5
пре 5 година
Fen Dweller
59c5ed9f90
Show an icon instead of "eat X" text
пре 5 година
Fen Dweller
c1872baf8f
Enable upgrades to have colored icons. Increase building requirements for prod upgrades
Upgrades are now unlocked at 1, 25, 50, 75, and 100 buildings.
пре 5 година
Fen Dweller
921f9826de
Put the upgrades and buildings together all the time. Remove upgrade labels
пре 5 година
Fen Dweller
cadb3d470f
Check ctrl/shift state when focusing and unfocusing the window
пре 5 година
Fen Dweller
174f61c7d8
Make clicking on news show a new piece of news
пре 5 година
Fen Dweller
d8770c7314
Slow down news a bit
пре 5 година
Fen Dweller
0a26d298f0
Add stats and options menus.
Stats can track a variety of things about the game, and are stored in the save.
The options menu lets you reconfigure things like your name and species.
пре 5 година
Fen Dweller
7e43e732b5
Use stats to decide whether to show powerup upgrades. Fix error if no save exists
пре 5 година
Fen Dweller
f40e0da5b5
Consolidate saved data to a single big record. Add mechanics for stats
пре 5 година
Fen Dweller
e565bbb980
Add some news items based on belongings
This also introduces fields for your name and species, but they cannot be
configured just yet
пре 5 година
Fen Dweller
0c802b3ae7
Add news based on food production.
This commit also adds a template for such news and makes
news item pop up more frequently
пре 5 година
Fen Dweller
ac61300837
Add tooltips to powerups
пре 5 година
Fen Dweller
bf854e7c23
Add 10x click powerup
пре 5 година
Fen Dweller
599e085c1c
Add small number word mode - only goes up to septillion
пре 5 година
Fen Dweller
754b49d3cd
Powerup upgrades now require power crystals
пре 5 година
Fen Dweller
9f6b2d9683
Add power crystal resources. Resource rates only appear if needed. Clicking powerups gives a power crystal
пре 5 година
Fen Dweller
d814db8195
Fix timed powerups not being applied
пре 5 година
Fen Dweller
00eb9c6d79
Equivalent powerups now combine their durations instead of stacking
пре 5 година
Fen Dweller
83e78b60af
Add prerequisites to powerups. Create a template for "free X" powerups. Add free bus
The "free X" powerups now only appear if you have at least one of the item, and also stop appearing once you have 100
пре 5 година
Fen Dweller
013e5d4593
Add scientific/full number modes, plus a button to cycle them
пре 5 година
Fen Dweller
ac1b68b075
Popups and building tooltips use words, not raw numbers
пре 5 година
Fen Dweller
fbf107ed35
Reuse the calculated contributions of each building when displaying stats
пре 5 година
Fen Dweller
3c24e7d341
Go back to mutating objects instead of making fresh copies.
пре 5 година
Fen Dweller
e1a35da3d5
Display resources without creating new html elements every tick
пре 5 година
Fen Dweller
d531a6a898
Only update building names/costs if needed
пре 5 година
Fen Dweller
2fd81ab666
Turn update rate back up to 60
пре 5 година
Fen Dweller
a1a6b3d2b9
Clear upgrade states when toggling the showing of owned upgrades
This is needed to make sure that all of the buttons get updated - some will
have stale states, otherwise
пре 5 година
Fen Dweller
001cc37bd2
Only enable/disable building buttons if needed
пре 5 година
Fen Dweller
9d14b4a4e6
Only add/remove upgrade classes if needed.
The last state of the upgrade buttons are now cached. This ensures that
the classList is perturbed *only* if this would actually change the
appearance, and seems to be far faster than just adding something
to the classList over and over
пре 5 година
Fen Dweller
0edfddd65e
Cache upgrade buttons
пре 5 година
Fen Dweller
7f237b2ad3
Cache references to the building buttons
пре 5 година
Fen Dweller
12b7a0093e
Fix more instances of accessing the wrong production values/mixing up numbers and objects
пре 5 година
Fen Dweller
451e3fae72
Fix powerups always giving 1000 food
пре 5 година
Fen Dweller
c1693e8804
Freeze results of operations on costs. Fix prod upgrades not getting the food cost of buildings
пре 5 година
Fen Dweller
5738659d8e
Change everything to use a dictionary of costs, rather than just numbers
This has broken quite a bit, since many parts of the game expect a scalar instead of
a whole object. I have also been deep freezing constant configuration data and, generally,
trying to make as much immutable as possible
пре 5 година
Fen Dweller
342c097524
Halve the update rate until I can improve performance
пре 5 година
Fen Dweller
f4ce56bcdc
Change save version to be an integer.
пре 5 година