// Tuesday 05/09/17 at 04:14PM - 39 files in 0.97 secs
- js/event.js:8 Add property to handle win and lose conditions and handlers for events (to be ultimately defined by the event template)
- js/event.js:78 Might need to update this to include special settings for the entity's event mixin based on the event template
- js/entity-mixins.js:4 Write 'Event' mixin that handles being assigned an event and listeners that will trigger that event's listeners for things like 'onDeath' etc.
- js/entity-mixins.js:722 give a unique time for re-prioritization (still once an hour, just a different minute/second perhaps) so that the NPCs don't all reprioritize and the same time and lag the system
- js/entity-mixins.js:818 upon waking up, the NPC loses 'petty crime' jobs?
- js/entity-mixins.js:902 there is a possibility that an entity could get generated with a duplicate name and that could mess with an entities memory of that entity. However, since entities don't have much that differentiates them now other than their name, it probably doesn't matter/is kind of a funny 'real-life' way of entities (and maybe players?) getting confused...
- js/entity-mixins.js:1023 base the amount stolen off of a dexterity contest or at least the dex of the stealer
- js/entity-mixins.js:1239 This should use the existing FOV isntead of re-computing
- js/entity-mixins.js:1288 Tasks should have their own 'canDo' function and this should just do that
- js/entity-mixins.js:1302 if I'm not mistaken, this enforces a topology 4 and doesn't account for diagnally adjacent
- js/events.js:27 Create specific templates for 'robbers', 'gunman' etc.
- js/event-source.js:18 need to add property 'spawnCondition' that is factored when
- js/entities.js:21 Write special event NPCs like 'robber' and 'gunman' etc.
- js/lots.js:37 Smarter way of pickin the direction houses face
- js/screens.js:3 Build a 'fromTemplate' function to parse files or a logo or something like that
- js/screens.js:4 Flesh out startScreen to be more of a menu, flipping between current items etc.
- js/screens.js:153 Player chooses size of city?
- js/screens.js:470 refactor this to support arrow key selection
- js/screens.js:652 Might need to eventually support using numbers
- js/screens.js:1056 Support for items?
- js/screens.js:1057 Default action?
- js/screens.js:1398 instead of pressing letters, use direction keys to highlight characteristics to increase
- js/tasks.js:93 Perhaps recalculate path from new position?
- js/tasks.js:103 Improve this to support what happens if an entity cannot path someplace when they are on the same z-level
- js/tasks.js:229 if I'm not mistaken, this enforces a topology 4 and doesn't account for diagnally adjacent
- js/template.js:10 Add support for adding multiple objects to a single place on the template via a template key
- js/template.js:11 Add functions to turn a template by 90 degrees, and by 180 degrees (and maybe by 270 degrees)
- js/map.js:2 Add utilities to handle activeEvent queue
- js/map.js:3 Add utilities to fetch event sources from the city and then schedule them
- js/map.js:309 Have this support both string coords ("x,y") and arrays ([x,y])
- js/map.js:328 Optimize these get path functions to sort the stairs by distance first, then find path. Additionally, most of this code is duplicated between the two functions, and could be reduced to a single function that takes a direction param
- js/map.js:474 move this?
- js/building.js:308 fix this? Not sure how this happens, or if when it happens, rooms are left isolated
- js/building.js:319 Skip placing additional doors into region 1
- js/building.js:522 instead of placing the wall immediately, run 'currentWall' through tests, and if it passes all of them, then place the walls
- js/city.js:5 Could be made more interesting by including a highway or two which would cut sort of diagnally across the city. Additionally, a river or nearby lake might be a neat addition as well. Perhaps a large, central park type of construct as well?
- js/company.js:1 Have this create different types of companies based on the size and other demographics of the city
- js/company.js:2 Add special generator for News companies (like stores and corps)
- js/house.js:9 If there is no more room to add a room's children on the current z-level, the code will try to place all the children directly above the room, resulting in only one being able to be placed (since the other's would not pass the _roomCheck being placed in the same x, y coordinates). Fix this somehow?
- js/house.js:363 make sure this also updates the objects in the queue
- js/house.js:545 populate the room with items (may need to be done after the whole house has been generated)