branchwiseguys/main/Missionscancel
109 Commits over 31 Days - 0.15cph!
Info messages wait until any open UI overlays are closed
Standardise the fail messages
Delivery missions give an additional payout to reimburse the mission runner for the item's value.
Added shared context to missions so tasks can pass information between them. Delivery tasks now check that the player still has the item they were assigned to acquire.
Fixes issues with triggering mission failure during mission task activation. Some other sanity checks.
Task definitions seem to need to be in files of the same name, like MonoBehaviours, to be attached correctly in the inspector (mission ScriptableObjects need tasks attached).
Acquire item task working
All existing mission stuff working, but delivery missions need more code to be completable.
Merge in Mission Definition changes since they turned out pretty well.
Some delivery mission stuff
Emergency calls summon the cops
Different UI for emergency calls. Doesn't do anything yet.
Minor nav arrow rules edit
Arrow scale tweaks. Highlighting for current mission task.
Set mission time in real time, so it's game speed independent. +Some time UI changes.
Mission time info in the main HUD, and other mission tweaks
Got menu buttons working and added mission info button
Fixed event expired issue
Clear scheduled mission events when the objects are destroyed. Stops mission ends firing for discarded missions.
Mission regen changes for payphones
More payphones, less mailboxes. Made them 50/50.
Reduce nav arrow min vis time
Add `long` support to RPCs
Time remaining moved from being per-task to per-mission. Plus some other mission work.
Hysteresis for the nav arrow
Initially spawn NPCs without staggering them. Prevents long-running choppiness at server start.
Fixed the last mission not disappearing from the mission list
Missions get removed when the player accepts them
Complete missions, get money.
Fixed the cash getting method. Previously it would return a max of one of each note type.
Actually fixed NetworkSimulator buffer issues properly (I hope). No more client spewing errors
Fixewd bug with copying memory streams that was breaking my NetworkSimulator
Mission failure on character death
Fixing some errors in Server mode. Removing orphaned meta files from the recent merge.
Fix warnings about "SendMessage cannot be called during Awake, CheckConsistency, or OnValidate"
Disabling all outline glow FX until the Unity bug is fixed
Fixed mouse in payphone UI.