Commit Graph

274 Commits

Author SHA1 Message Date
Injazz
8f580ecc1b Visually updates contents of the beaker
also adds new syringe sprite from eris
also adds colors to ALL reagents
2020-04-09 16:43:56 +05:00
Injazz
4174891c87 some fixes
removes unused interface from DrinkComponent
adds capability to fit inside dispensers for TransformableContainer
removes stomach component from character setup dummy
2020-04-08 17:12:00 +05:00
Injazz
d400f77129 Chemistry revamp and bartending features
-Ability to mix drinks to create cocktails with shiny icons
-New Chemistry System which can relay chemistry events to corresponding components
-moved some solution logic from Shared to Server
-fixed some weird stuff with DrinkComponent
2020-04-08 15:53:15 +05:00
Pieter-Jan Briers
ff36b2dcc7 Re-enable instruments with fallback when MIDI isn't available. 2020-03-30 18:36:58 +02:00
Pieter-Jan Briers
eb99b3c0fd Merge pull request #792 from JiimBob/power-checks
Power checks
2020-03-30 17:43:33 +02:00
PrPleGoo
fa27e44fd4 Sets drawdepth "Mobs" on the Human prototype (#788)
* Update .gitignore

* Revert "Update .gitignore"

This reverts commit bea34f7f34.

* human entities now get their DrawDepth set to Mobs
2020-03-25 02:28:37 +01:00
JiimBob
d645b1470e Added power checks
Added power checks to:
Reagent Dispenser
Medical Scanner
Lathes
Research Console
Vending Machines

Added power device component to:
chem dispenser prototype
medical scanner prototype

Fixes for #706
2020-03-21 15:37:22 -04:00
Decappi
a1357a1ff3 #391 Done Lathe animations (#774)
* Draft PR, do not merge

* Lathe now uses animations. Timing is still wrong, code is very wet, repetitions and unused layers are there.

* Removed (unneeded?) PowerDeviceVisualizer from the lathe
Refactored & Renamed code and variables
Renamed animation names

* WIP protolathe animation

* Working protolathe animation.
I still don't like the solution though.
2020-03-15 17:55:20 +01:00
PrPleGoo
020c74a9cb Changed Item_Base CollisionMask to 0 (#785) 2020-03-15 10:46:09 +01:00
py01
aecff31262 Construction recipes can specify if they should be build-able in… (#781)
Co-authored-by: py01 <pyronetics01@gmail.com>
2020-03-06 20:15:44 +01:00
PrPleGoo
5747eb5fac Leather gloves now have HeatResistance at the default heat of bu… (#784)
* Leather gloves now have HeatResistance at the default heat of bulbs.

* Remove trailing whitespace

* Changed Leather gloves to Botanist's leather gloves

* Fixed quotes and removed Heat Resistance from glubs
2020-03-06 20:10:52 +01:00
Swept
ae5924072f I can see clearly now (#778)
* Updates and crafting recipe

* Updated descriptions
2020-03-06 20:08:02 +01:00
Víctor Aguilera Puerto
0ec4cd4bea Fix crash when picking up black ak due case-sensitivity (#776) 2020-03-03 16:56:38 +01:00
py01
6e4b72f6cb Medical scanner eject collision fix (#767)
* MedicalScanner ejection location

* MedicalScanner bounding box change
2020-03-03 14:40:57 +01:00
AJCM-git
81ab31659b Little projectile enhancements (#764)
*  Little projectile enhancements

*  Lets see if this fixes my fuck up

* Im a weapon smoothbrain. This fixes caliber folders name
2020-03-01 09:09:30 +01:00
py01
196950fb7e Gun Code Modularization + Magazine Fed Shotgun (#751)
* Adds shotgun YAML files

* Adds shotgu ammo and magazine enum value, modularizes some projectile weapon methods

* Fixes guns consuming two bullets on fire

* Finishes shotgun behavior in Projectile Weapon Components

* Gun and ammo modularization

* Updates BallisticMagazineWeapons to be compatible with new AmmoWeapon

* Fixes shotgun spread angles, Fixes shogun YAML

* Gun documentation and ViewVariable specifications

* Removes todo messsage in gun code

* Default gun evenspread fix

* AmmoComponent Name fix

* Fixes Component name

* Projectile refactor code review fixes
2020-02-29 18:09:41 +01:00
ShadowCommander
bd773aef3b Fix CargoProducts (#750) 2020-02-28 14:58:43 +01:00
Swept
3e9b93faee Adds Skub (#740)
* Added Skub

* Added Skub crafting recipe
2020-02-28 14:58:25 +01:00
Swept
37c13099ad Fixes a problem with gloves (#754) 2020-02-28 14:57:25 +01:00
GlassEclipse
abc02fa504 Fixes 1 runtime error message (#742) 2020-02-26 06:30:56 +01:00
CC-4477
cbf3357c13 Added "mm" to boxes.yml into .45mm ammo containers (#739)
Co-authored-by: Check your git settings! <chris@chris-laptop>
2020-02-25 22:36:49 +01:00
Pieter-Jan Briers
58ab7631c2 Give every job their fancy ID types. 2020-02-24 16:58:25 +01:00
Víctor Aguilera Puerto
090dd8cee8 ControlMob verb and command (#724)
* ControlMob verb and command, mobs have MindComponent by default

* Use IActorComponent instead of MindComponent for User entity.
Fixes using Control Mob while aghosting/visiting an entity.

* Use static Loc class
2020-02-24 03:49:40 +01:00
Pieter-Jan Briers
8a5e879633 Glass airlocks actually let light through. 2020-02-24 01:55:44 +01:00
moneyl
1b7860aeda Add injectors + injected reagent metabolism via BloodstreamCompo… (#730)
* Add BloodstreamComponent and BloodstreamSystem

New component for metabolizing reagents that other organs like the stomach pass their input reagents to.

* Change StomachComponent to put ingested reagents in bloodstream after delay

Now StomachComponent does not metabolize any reagents. Instead, it tracks how long each reagent has been inside it, and once they pass "digestionDelay" they'll be put inside the bloodstream, where the bloodstream will handle metabolism of the reagent.

* Add reagent injectors

Injects reagents straight into the bloodstream when used on mobs with bloodstreams. Also allows draw/inject from beakers. Does not support drawing blood/reagents from the bloodstream yet.

* Address code review

Make use of `Loc` static class instead of using `ILocalizationManager`. Localize InjectorToggleMode enum properly.
2020-02-24 01:47:33 +01:00
Pieter-Jan Briers
d8291ed9c4 Shadow & FOV stuff (#735)
* Content fixes for shadow/occluder stuff.

* Observers don't have FOV.

* Update submodule
2020-02-23 17:30:45 +01:00
metalgearsloth
847acd6401 Fix gun sprites and names (#734)
Addresses #606

Sprites fixed so no short versions used (for now) and some of the extra states were removed (clarissa).

When I originally PR'd pascal case wasn't the decided name so I also updated the IDs.
2020-02-23 14:44:15 +01:00
CC-4477
2c49aaa93f Added items to products.yml and corresponding crates to crate_ty… (#725)
* Added fire_extinguisher, light_bulb, pen, bike_horn, light_bulb, and cleaver to crate_types.yml and products.yml.

* Added fuel tank, medical scanner, glass stack, and cable stack to products.yml, and corresponding values to crate_types.yml.

Co-authored-by: Check your git settings! <chris@chris-laptop>
2020-02-23 00:42:51 +01:00
4dplanner
b0e3ab3393 MovementSpeedModifierComponent (#721)
* movement modifier system

* update default exposedata values

* changing base speed marks as dirty

* formatting

* movement speed modifier component

* Moves slowdown component to the prototype

AIController respects slowdown

* reset dirty flag
2020-02-23 00:37:56 +01:00
Rohesie
ffe55648b6 BaseTurfs (#699)
* tweaks

* Baseturfs

* dotnet messages

* indentation

* comment

* Change requests

* Smaller diff

* Diff
2020-02-23 00:30:36 +01:00
py01
b2b8021d9b Adds rsi sprites for bureaucracy items, fixes pen and paper spri… (#711) 2020-02-17 00:16:06 +01:00
Soundwavesghost
aa37c0121a Fill vending machines (#648) 2020-02-13 17:58:19 +01:00
adrian
9544099c99 Paper and pen (#582)
* A very basic paper and pen implementation

* Removes SharedWriteComponent

* Update ContentNetIDs.cs
2020-02-12 00:01:05 +01:00
Pieter-Jan Briers
753600771f Give observers IgnorePause component. 2020-02-08 21:45:32 +01:00
AJCM-git
5e58ae8a0a Adds SnapgridCenter to Asteroid YAML (#646) 2020-02-08 17:21:14 +01:00
ike709
c6431e4c86 Exploding wires no longer creates full cable stacks (#624) 2020-02-07 15:18:51 -08:00
Víctor Aguilera Puerto
48af9f90c0 Disable instruments (#617) 2020-02-07 23:38:52 +01:00
ShadowCommander
9ccb9aeb5c Yaml fixes (#615)
* Change BaseMagazines to abstract

* Change walls and power buildings to use SnapGrid placement
2020-02-07 18:13:48 +01:00
ShadowCommander
cf78f8aa65 Drink fixes (#605)
* Fix max_volume in cup YAML

Fixes #563

Added parsing of max_volume from YAML. Before it would get max volume only from drink content total.

* Fix drink owner getting deleted early

_contents.SplitSolution causes _contents.SolutionChanged to call Finish early causing a crash when try to get SoundComponent from the deleted Entity.
2020-02-07 18:13:11 +01:00
Víctor Aguilera Puerto
dff24227ea Remove a bunch of base items from spawnlist (#599)
* Adds "abstract: true" to a bunch of base entities.

* Comment out test prototypes.

* whoops

* Uncomment WeaponArc, and make it abstract instead
2020-02-06 16:53:01 +01:00
Víctor Aguilera Puerto
6bd818c8ce Fix two crashes relating to food (#600)
* Fix crash when eating bread due to a missing prototype

* Fix crash when finishing a food.

It tried to get the transform component of a deleted entity.
2020-02-06 16:40:41 +01:00
Reno DuBois
cf5c20dee4 Use correct caliber name for .45mm boxes (#584) 2020-02-03 18:47:47 +01:00
Reno DuBois
e72a78fc87 Add mask and layer to powercell items (#577) 2020-02-02 22:37:48 +01:00
ike709
73a9b2af89 Basic equipment for all jobs (#573) 2020-01-29 19:14:35 +01:00
AJCM-git
b167107c8b /TG/ ID sprites (#570)
*  This adds /TG/ ID sprites

* Applying suggestions

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2020-01-29 19:13:53 +01:00
moneyl
972d601664 Add solution pouring / click-transfer (#574)
* Add click-based solution transfer

For example, clicking on a beaker with a soda can to transfer the soda to the beaker. Works on plain solution containers like beakers and also on open drink containers like soda cans as long as they have the `PourIn` and `PourOut` solution  capabilities. If no `SolutionComponent` is added to a drink entity, the `DrinkComponent` will give the entity one. This PR extends that behavior slightly by also giving these default `SolutionComponent`'s the proper capabilities for pouring in/out.

* Improve fix for poured drinks not immediately disappearing

Instead of making `DrinkComponent.Use` public this 
 splits out the code important to both users and made that function public, leaving `Use` private.

* Shorten solution transfer popup

* Make code review changes

- Move pouring code from SolutionComponent to new PourableComponent. Added PourableComponent to client ignore list and added to existing container prototypes.
- Added EmptyVolume property to shared SolutionComponent for convenience.
- Removed DrinkComponent fix from pouring AttackBy code. Instead DrinkComponent subscribes to the SolutionChanged action and updates its self when necessary.
- Fixed pouring being able to add more than a containers max volume and sometimes deleting reagents.
- Added message for when a container is full.

* More code review changes

- Remove IAttackBy ComponentReference attribute in PourableComponent
- Remove _transferAmount from shared SolutionComponent. Left over var from previous commit not being used anymore.
2020-01-29 02:07:02 +01:00
ike709
4315618782 Adds some existing equipment to Janitors and Sec Officers (#566) 2020-01-26 14:01:48 +01:00
Pieter-Jan Briers
f95c5b7921 Adds job icons to the job list. 2020-01-24 16:31:18 +01:00
Pieter-Jan Briers
fd759e4a9d Jackboots and clown shoes produce different footsteps again. 2020-01-24 02:35:01 +01:00
moneyl
86d1f808af Fix more unknown component errors (#545)
Fixed UseDelayComponent not being on the ignore list of Content.Client and removed seemingly erroneous `Timing` component used in bike_horn.yml
2020-01-23 01:09:56 +01:00