mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Compass relocation
This commit carries some changes. * the compass is now a "special" item, not "good". It allows a different placing * Store block is now divided into 2 parts. All the script is adapted to make room for it, including empty block check and insert animation for the new #store children divs ** Above: stackable storable items (resources), whose tooltip shows updated income/consumption rates ** Below: special storable items. As of now, it only contains the compass. Special block has a special style, with some distance from resources block if that one exists. * Compass row has an empty tooltip which is filled in by World
This commit is contained in:
committed by
Blake Grotewold
parent
7208b845b1
commit
03fae08ff2
@@ -423,6 +423,7 @@ var StateManager = {
|
||||
case 'tool':
|
||||
case 'weapon':
|
||||
case 'upgrade':
|
||||
case 'special':
|
||||
return $SM.get('stores["'+name+'"]', true);
|
||||
case 'building':
|
||||
return $SM.get('game.buildings["'+name+'"]', true);
|
||||
|
||||
Reference in New Issue
Block a user