Fen Dweller
453036a01b
Bump version number
пре 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
c2313a5dd0
Nerf powerup frequency upgrades
Before, each one multiplied the time between spawns by 0.5
Now, they multiply the time by 0.75, then 0.78, then 0.81,
and so forth
пре 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
9746e5648d
Fix another busted upgrade - helper was wrong
пре 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
158a17b5fa
Deep-freeze the remaining configuration objects
Since I did not explain deep-freezing in the last commit..it essentially
makes an entire object read-only, meaning that instead of mangling important
data, badly written code will throw an error!
пре 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
6b0726e421
Bump version number
пре 5 година
Fen Dweller
342c097524
Halve the update rate until I can improve performance
пре 5 година
Fen Dweller
f92d1cbc04
Make the food powerup give 60 seconds of food production
пре 5 година
Fen Dweller
150596f38d
Merge branch 'master' of https://github.com/chemicalcrux/gorge
пре 5 година
Fen Dweller
2833136d21
Add Discord link
пре 5 година
Fen Dweller
5e7e01d720
Create README.md
пре 5 година
Fen Dweller
f4ce56bcdc
Change save version to be an integer.
пре 5 година
Fen Dweller
579f9e5b9c
Reformat the js files
пре 5 година
Fen Dweller
ab5eb148c6
Make some global objects const, at least
пре 5 година
Fen Dweller
e9f8321435
Fix septillion and sextillion being swapped
пре 5 година
Fen Dweller
5d6f201486
Bump version number
пре 5 година
Fen Dweller
5bf01ccd68
Give powerup frequency upgrades their flavor text
пре 5 година
Fen Dweller
cd468417c6
Make powerups appear more slowly; add upgrades to speed them up
пре 5 година
Fen Dweller
e3e882bb67
Allow for purchasing 5/10 buildings at once with shift/ctrl
пре 5 година
Fen Dweller
10737ba3f2
Safely handle inability to load/save
пре 5 година
Fen Dweller
87e2364e43
Add powerup display.
пре 5 година
Fen Dweller
7940442243
Add a powerup that doubles food production for 10 seconds
пре 5 година
Fen Dweller
89e0f6b167
Add mechanics for powerups with a duration
пре 5 година
Fen Dweller
e5f8743a2b
Give each powerup an icon; add a second powerup
пре 5 година
Fen Dweller
9309be3447
Remove stroke on powerup icons
пре 5 година
Fen Dweller
e77cf33cab
Create a set of powerups with effects/popup functions
пре 5 година
Fen Dweller
cb69c8533c
Make powerups look nicer
пре 5 година
Fen Dweller
f1809a322d
Add random popups that give food when clicked
пре 5 година
Fen Dweller
e014a68c6e
Remove spurious variable
пре 5 година
Fen Dweller
c3f5a724f3
Tweak positioning of titles
пре 5 година
Fen Dweller
d69490ae26
Fix positioning of news items
пре 5 година
Fen Dweller
234c837a05
Allow news lines to use current belongings.
пре 5 година