Commit Graph

30252 Commits

Author SHA1 Message Date
Pieter-Jan Briers
03bfb22559 Fix profile editor not correctly enforcing single high-priority job. 2020-01-20 10:30:06 +01:00
Pieter-Jan Briers
05ff4e0956 Implement human pockets and ID card slot correctly.
Pockets & ID need uniform equipped. Pockets accept any sufficiently small item.
2020-01-20 10:30:06 +01:00
Pieter-Jan Briers
959bf7c477 Clean up EquipmentSlotDefinitions.cs a bit. 2020-01-20 10:30:06 +01:00
Acruid
7c562af0aa Nullspace map entity is created every time the client joins the server. This fixes #520. 2020-01-20 00:36:34 -08:00
ShadowCommander
57c3f63a26 Fix HandsGui StatusPanel capturing input (#525) 2020-01-20 01:31:46 +01:00
DamianX
f08455073a Unset ready status when opening character setup (#522)
* Close character setup when joining the game

* Unready when opening character setup instead
2020-01-20 00:15:39 +01:00
Pieter-Jan Briers
812654fe32 Add VSCode extension recommendations 2020-01-19 19:13:34 +01:00
Pieter-Jan Briers
aaf0b7a645 Game ticker now has a job assignment system. 2020-01-19 19:08:35 +01:00
Pieter-Jan Briers
e64d80d02e Update submodule. 2020-01-19 19:07:20 +01:00
Pieter-Jan Briers
ac9d236955 Acc 2020-01-19 18:33:30 +01:00
Pieter-Jan Briers
fc2d53eb4f Adds preference unavailable setting to profiles. 2020-01-19 18:33:22 +01:00
Pieter-Jan Briers
77367345b6 Declare overflow job (assistant) with constants. 2020-01-19 18:32:24 +01:00
Pieter-Jan Briers
02fbc5938b Adds more metadata to job prototypes:
Whether the job is a head.
The access levels the job has.
The total & spawn positions count.
2020-01-19 18:31:14 +01:00
Pieter-Jan Briers
ce794c4dac Move access levels to prototypes.
Also adds captain & ID computer access levels.
Fixes ID computer not saving access changes correctly.
2020-01-19 18:30:09 +01:00
Pieter-Jan Briers
edf280e2df Improve ID card names to be better.
And more inline with SS13.
2020-01-19 18:27:16 +01:00
DamianX
1bd17f73b1 Actually save when pressing "save and close" (#523) 2020-01-19 14:54:11 +01:00
Pieter-Jan Briers
511741d11a Update submodule. 2020-01-19 09:42:26 +01:00
Pieter-Jan Briers
f86ad6175e Basic implementation of jobs in the character profile. 2020-01-19 09:42:26 +01:00
Pieter-Jan Briers
afef34a648 Split jobs into separate files and remove less-important jobs. 2020-01-19 09:35:17 +01:00
DamianX
802fda3cfd Added option to generate random character name (#519)
* Added option to generate random character name

* awk '!seen[$0]++'
2020-01-18 23:09:14 +01:00
DamianX
b5feb0db2a Fixed character setup save button (#518) 2020-01-18 16:57:11 +01:00
Pieter-Jan Briers
4b60c03688 Fix Sex not showing in character preview panel. 2020-01-18 04:38:56 +01:00
ShadowCommander
e0aaab56e3 Implement StorageButton on HandsGUI and click empty hand to swap… (#517)
Also moved duplicate sprite view code to ItemSlotManager
2020-01-18 03:41:47 +01:00
Pieter-Jan Briers
9a76c70b37 Give TextCursorRight canRepeat: true 2020-01-18 03:17:52 +01:00
DamianX
e619b3026c HOME and END keys work in LineEdit episode 2 (#512) 2020-01-18 03:14:02 +01:00
Pieter-Jan Briers
54b7d3f229 Commit EF migrations so the game starts again. 2020-01-18 03:13:08 +01:00
Pieter-Jan Briers
a4b0c4e213 Update submodule. 2020-01-18 02:48:21 +01:00
Pieter-Jan Briers
47f33e002d Fix package_release_build.py to work with the new EFCore databases. 2020-01-18 02:48:08 +01:00
DamianX
a4e369e629 added Character Setup (#511)
* added Character Setup

* whoops

* reverted unrelated changes

* Made everything work post-rebase

* Removed unused PreferencesChanged event

* nope, don't need this

* HumanoidProfileEditorPanel -> HumanoidProfileEditor

* Set initial data for hair pickers

* Fixed nullable warning

* Renamed LooksComponent -> HumanoidAppearanceComponent

* Renamed LooksComponentState -> HumanoidAppearanceComponentState

* Final renaming maybe

* Use a human-like dummy instead of a real human

* Change preferences structs back to classes
2020-01-18 01:54:13 +01:00
ShadowCommander
d03da83fda Inventory Input (#503)
* Create ItemSlotButton

* Refactor inventory buttons

Refactor so that KeyBind handling of inventory and hands are the same.

* Refactor InventoryInterfaceController to call ItemSlotManager with entities

This change allows HandsGUI and InventoryInterfaceController to just call ItemSlotManager.OnButtonPressed with an entity instead of a slot.

* Add CooldownCircle to ItemSlotButton

This allows Hands and Inventory to have cooldown circles on their ItemSlots.

* Refactor HandsGUI to use ItemSlots

This allows functionality and GUI to be the same between Inventory and Hands.

Added clicking empty hand to switch ActiveHand to clicked hand.

* Implement CooldownCircle in ItemSlotManager

Reorganize files
2020-01-17 15:43:20 +01:00
DamianX
c20ba98a1e Research machinery requires power (#516)
* Fixed ResearchPointSourceComponent properties

* ResearchPointSourceComponent requires power

* ResearchServerComponent requires power
2020-01-17 15:34:40 +01:00
DamianX
c4ea6e53e8 Use EFCore to store preferences (#506)
* Use EFcore to store preferences

* Fixed nullabilty warnings
2020-01-15 15:10:18 +01:00
Pieter-Jan Briers
1856cb079c Fix a couple compiler warnings. 2020-01-15 14:51:01 +01:00
Pieter-Jan Briers
56f1233967 Hair style improvements:
1. made the magic mirror actually reflect your current hair state when you open it.
2. Made magic mirror one window.
3. Use color sliders for magic mirror.
2020-01-15 14:28:46 +01:00
Pieter-Jan Briers
da932c5caa Styling for Slider. 2020-01-15 14:27:47 +01:00
Pieter-Jan Briers
bf6e38703a Update submodule. 2020-01-15 14:27:24 +01:00
Pieter-Jan Briers
b5af7b1c3e Re-organize human layers more so that facial hair is below regular hair. 2020-01-15 14:12:35 +01:00
Pieter-Jan Briers
e0a4735fe2 Switch to TG hair sprites.
This removes the need for a separate shader because they're multiply-based instead of additive like /vg/ or Bay.
2020-01-12 02:04:13 +01:00
Pieter-Jan Briers
9c0a670525 Fix flashlights not updating status when battery inserted. 2020-01-12 02:02:58 +01:00
Pieter-Jan Briers
ca01e245cb Improve human sprite layering.
Matches TG, means hair goes over clothing now.
2020-01-12 02:02:38 +01:00
Pieter-Jan Briers
92da411ea5 Flashlight wattag is now a VV-able variable. 2020-01-12 02:01:00 +01:00
Pieter-Jan Briers
f60b0fce7d Fix hair not syncing style correctly.
Fixes #502
2020-01-12 01:58:05 +01:00
Pieter-Jan Briers
3cceb35445 Fix Stack item status not updating correctly. 2020-01-12 01:58:05 +01:00
Acruid
ca58afd81b Added a Collidable Component to the existing station grind in StationStation. 2020-01-11 15:15:11 -08:00
Acruid
32103979ed CollidableComponent and ICollideableComponent namespace was changed in the engine.
Minor code cleanup.
2020-01-11 14:12:20 -08:00
Acruid
51f7f14c08 Right now ShuttleControllers add the collision component to the Grid Entity.
Adds Grids to the collision group.
2020-01-09 18:29:09 -08:00
Pieter-Jan Briers
0db46da30e Update that submodule. 2020-01-09 00:34:06 +01:00
Pieter-Jan Briers
411c23c46e Item status! 2020-01-09 00:28:04 +01:00
Pieter-Jan Briers
e984fc24b6 Add addcomp command to groups.yml 2020-01-09 00:28:04 +01:00
Pieter-Jan Briers
33782ed7f3 Fix ranged weapon fire rates being stuttery.
Now we just send a fire message to the server every frame. Absolutely terrible!
2020-01-09 00:28:04 +01:00