Add game ref to tables (and functions) #23
Notifications
Total Time Spent: 43 minutes
Due Date
Jonathan
43 minutes
No due date set.
Dependencies
No dependencies set.
Reference: Jonathan/Peradventure#23
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since this will support multiple people playing on the same server at the same time, we need to make every function handle functions by the game that they are in.
This means entities and the player for sure, but also the map since I don't know if I will be introducing map-altering mechanics later. For example, separate levels or explosions damaging wall tiles.
Add game ref to tablesto Add game ref to tables (and functions)I checked. All this stuff has already been added to mapPopulate, but it's not being called. Right now I need to add conditionals to the Character creation page to make sure that the player has been created properly, that no duplicates are being made, and the player is being logged in correctly (that means checking the cookies to see whether the proper game_ref was made).