Commit Graph

107 Commits

Author SHA1 Message Date
Blue 0c8f6edbcd Diving gear changed a bit
Both the diving suit and mask can use both the oxygenite shard and tank.
The shard is a bit less effective than the tank though.
I'm unable to get the plasma cutter to work though. :(
2018-05-08 23:27:40 +02:00
Blue 100d1176f8 Added oxygenite tank, ancient weapon changes
+ Oxygenite tank added (taken from BTE)
+ Ancient Weapon
Now can use both the oxygenite shard and tank
+Diving Suit/Mask
Can no longer use the oxygenite shard (replaced with the tank)
+ Welding Tool / Plasma Cutter
Oxygenite can be placed in but can't actually be used
+ Fabricator
Oxygenite tank craftable
2018-05-08 01:36:01 +02:00
Blue 890c0dc1d9 Deconstructing certain items now gives materials
Some tools and the body armor wouldn't give any materials
2018-05-05 23:08:01 +02:00
Juan Pablo Arce d0c1d170f3 Increased searchlight camera offset to 515
Requested by Clastic, the person who submitted the item
2018-05-04 19:47:49 -03:00
Joonas Rikkonen 7c9c3195bf Need to copypaste more carefully (e15fa11) 2018-04-25 20:58:11 +03:00
Joonas Rikkonen e15fa11d6e Fixed meds not being usable with a medical syringe. Closes #388 2018-04-25 16:39:12 +03:00
Joonas Rikkonen 91d6c7b91f Fixed explosives being directly usable by characters, causing them to explode when left clicking while holding them due to 9dd9425c. See #385 2018-04-24 18:00:36 +03:00
Joonas Rikkonen 1f460c401e Readded oxygenite shard as containable to diving suit (accidentally removed in f2842c2) 2018-04-23 16:08:44 +03:00
Joonas Rikkonen 1d98df11a3 PropertyConditionals match if any of the targets match, junction boxes only take damage underwater when therey're powered up (because trying to fix all boxes in a flooded sub before they break again is pain in the ass) 2018-04-23 15:25:46 +03:00
Joonas Rikkonen f2842c265c Removed the need for batteries in diving suits, now the light stays on as long as the suit is worn by a living character. 2018-04-23 15:24:55 +03:00
Joonas Rikkonen 3abbfcbc23 Railguns cannot be fired without aiming. Closes #364 2018-04-09 15:22:42 +03:00
boyned//Kampfkarren 9c610a1a82 Make Captain's Jacket able to hold 5 things
It's stupid that all jobs can hold stuff in their jumpsuits except Captain.
2018-04-07 22:09:02 -07:00
Joonas Rikkonen 9dd9425caa Explosives, chemicals and medical items disappear when their condition falls to 0 (i.e. when they're fully used).
Railgun shells, detonators and depth charges also now "use" their contents instead of destroying them. (See #322)
2018-04-03 22:43:41 +03:00
Joonas Rikkonen 1b1bd6f51b Fixed switch sprite offset. Closes #324 2018-03-08 17:57:12 +02:00
juanjp600 3a2224392a Added EpicBobRoss' searchlight 2018-03-07 23:30:38 -03:00
Joonas Rikkonen 8e8b8464af All items and structures have to define a sourcerect for the sprite because otherwise the dedicated server won't know the size of the entity. Closes #321 2018-03-06 13:55:30 +02:00
Joonas Rikkonen f1f190a997 Added a light to diving suits (requires a battery to work). Closes #233 2018-03-02 13:11:28 +02:00
Joonas Rikkonen 12d1692bb5 Wearables can attach lightsources to limbs 2018-03-02 11:13:11 +02:00
Joonas Rikkonen 55a5e9e968 Syringes are recolored according to the color of the contained medical item. Closes #256 2018-03-01 11:26:04 +02:00
Joonas Rikkonen 2585cc9873 Fixed attachable objects being deattachable with the select key due to e6b7a0d3, fixed typo in ConvertInputType 2018-02-28 13:26:18 +02:00
Joonas Rikkonen d867dd6c17 Diving suits are rendered in front of all items (diving masks, goggles, etc aren't drawn on top of the suit). Items that are being held take the depth of the wearable sprite on the hand into account. Closes #290 2018-02-27 23:04:54 +02:00
Joonas Rikkonen 0fa1ae6825 Fixed plasma cutters and welders not affecting hatches, alien doors/hatches or duct blocks. Closes #293 2018-02-27 15:17:58 +02:00
Joonas Rikkonen 064750d99f Fixed missing RepairTool HitStructure particles & missing ancient weapon beam (+ added hit particles to ancient weapon). Closes #285 2018-02-25 22:43:06 +02:00
Joonas Rikkonen 19579f02ca Doors can be opened with crowbars again. Closes #276 2018-02-23 10:23:58 +02:00
Joonas Rikkonen 1ebadf1f80 Fixed depth charge tubes launching the depth charges up by default. Closes #259 2018-02-22 16:23:30 +02:00
Joonas Rikkonen 671f59e984 Unequipped headsets can't be used and don't consume batteries. Closes #272 2018-02-22 15:08:38 +02:00
Joonas Rikkonen b7bb78bc41 Fixed railgun shells not detonating their contents on impact 2018-02-22 12:35:57 +02:00
Joonas Rikkonen a74ba4191b Items with the "medical" tag can be contained in doctors' clothes (e.g. syringes, bandages) 2018-02-21 20:08:45 +02:00
Joonas Rikkonen 24cb7a3659 Husk infection state can be decreased after the infection reaches the active state (causing the husk appendage to be removed). Calyxanide still has a conditional preventing the decrease, but now it's possible for modders to revert huskification without code modifications. Closes #258 2018-02-21 11:12:49 +02:00
Joonas Rikkonen 43d6ee5e06 Spark & smoke particle effects when welding or cutting something. Closes #155. 2018-02-12 11:20:25 +02:00
Joonas Rikkonen 544cbe74cf Removed heat absorbers (no real use even if the extra cooling effect was reimplemented). Closes #229 2018-01-22 14:54:43 +02:00
Joonas Rikkonen 1eaccef8c7 Added damaged variants of junction box sprite, damaged item sprites can be set to fade in. 2018-01-11 20:48:26 +02:00
Joonas Rikkonen e2c7b684de Fixed character limb rendering order not being consistent (limbs with the same depth value being randomly drawn behind or in front of each other) 2018-01-11 13:32:21 +02:00
Joonas Rikkonen 47f9900fdc Lighting fixes:
- Re-enabled lightsprites (glowing lamp sprites on lamps).
- Limb sprites use lightsprites instead of overriding the texture (positioned correctly now).
- Fixed lights that don't cast shadows not being rendered.
2018-01-11 11:23:55 +02:00
Joonas Rikkonen 7bbab35a0b Configured cargo containers for items, metal crates can be deconstructed, spears can be contained inside metal crates 2018-01-10 15:57:22 +02:00
Joonas Rikkonen 5f2227489b Reactor temperature has to stay above the meltdown temperature for 30 seconds before it explodes. The reactors now also have an output connection that sends out a signal when the temperature is critical. + Added reactor meltdown warning sirens & lights to vanilla subs. Closes #157 2018-01-10 00:33:21 +02:00
Joonas Rikkonen 3956785032 Moved PropertyConditional match checking & status effect cancelling from the StatusEffect class to PropertyConditional. 2018-01-09 16:42:11 +02:00
Joonas Rikkonen 18ae9d7820 Base ItemComponents can apply OnUse statuseffects, grenades can be placed in detonators. Closes #113 2018-01-09 14:55:16 +02:00
Joonas Rikkonen 7187c277e7 Merge branch 'master' into moStuff 2018-01-09 10:38:06 +02:00
juanjp600 32deb06e51 Fixed crowbar.ogg case-sensitivity errors 2018-01-05 11:07:44 -03:00
Alex Noir 31350698bf denerfied the clown 2017-12-30 16:01:02 +03:00
Alex Noir 9f727ddbaf Add Morbusanide recipe
Make usecondition default to true so items aren't wasted
2017-12-30 14:53:26 +03:00
Alex Noir 32a2b38112 Removed DamageSoundType and replaced it with a string "tag" instead to allow mod creators to create custom damage sounds
Fixed damagemodifier sounds being completely ignored due to a variable misname
Added structure damage possibility for melee weapons so you can break down windows with a crowbar in spectacular fashion (it's clearly a very inferior method to plasma cutters though)
Clown hitsounds are in now which is awesome. Beat up some clowns!
2017-12-30 13:46:59 +03:00
Joonas Rikkonen bcd2582cf9 - More gore particles when severing limbs!
- Explosions can sever limbs even if the target character is dead. Now explosive projectiles can explode creatures into pieces even if the creature dies of the initial projectile impact and not the explosion.
- Disabled blood particles on carriers and fractal guardians.
2017-12-29 21:06:11 +02:00
Alex Noir 2cb0ee73be Adds footstep sound variety, makes diving and clown suits have unique footstep sounds!
https://puu.sh/yQ8fs/61e12f15c6.webm
TODO: Get rid of the "damagesoundtype" system and replace it with simple "tag" checking to allow customizability from content pack side
Fix damagemodifier sounds never being played (I've never once heard LimbArmor play on anything but mantis)
2017-12-29 17:41:18 +03:00
Joonas Rikkonen b84c965be3 More AI fixes/improvements:
- AI characters can refuel the reactor when needed.
- AIObjectiveContainItem.CanBeCompleted returns true if the target item cannot be obtained or if the container cannot be reached.
- AI characters only weld leaks that are part of some submarine (i.e. not ruins).
2017-12-28 19:44:48 +02:00
Alex Noir ed98a6bc0b well jeez who'da thunk it's my sorry ass forgetting to remove the second updateoxygen
Reverted OxygenAvailable values for diving gear + oxygen mask back to -100
Keeping sufforin OxygenAvailable at -10000 tho, that seems like the way to completely cut off any and all oxygen suppliers from acting
2017-12-28 19:28:45 +03:00
Alex Noir 31bef06fd8 Just noticed a new, strange bug happening: https://puu.sh/yPuai/eca2a059e2.webm
Problem is, this should've been happening before even regardless of my changes. So why did it only start happening now? That'll have to be looked into.
The reason why it should be happening in theory is that in character's UpdateOxygen method, it takes hull oxygen and OxygenAvailable. If OxygenAvailable was 0, it'd take the hull, which would likely be 100. If OxygenAvailable was -100, it would take the hull, which would make OxygenAvaialbe 0.
However, it seems like something happened and instead of setting the property it now decreases it, and I don't know why? In theory it should SET OxygenAvailable to -100 but it seems like its performing a substraction now.

Adds tags to all duration/delay status effects
Chloromydride buffed slightly to counteract crit damage as well so it truly stabilizes you
Sufforin now affects your available oxygen too by setting it to -10000 to prevent diving suits/oxygen masks/etc. counteracting it.
2017-12-28 19:11:46 +03:00
Alex Noir 00704e141b i cant syntax 2017-12-28 17:55:28 +03:00
Alex Noir 0c133ba305 Forgot to list all changes in the latest commit, so here goes:
Allow multiple calls of <Use/> for multiple-use syringes or something
Adds hasstatustag and hastag conditionals, where hastag checks for item tags and hasstatustag checks for active delay/duration status effects w/ matching tags. It's also possible to check for NOT tag e.g. hastag="! morbusine,uranium", which will only be true if there's no morbusine or uranium in the "bloodstream".
Renamed "Amanitin" to "Sufforin" and slightly buffed it
Added "name" and "speciesname" conditionals
Makes bandages heal you slightly if your health is > 50
Adds "Morbusanide", which is a Morbusine antidote.
Calyxanide can hurt NPC husks now
Adds <Cancel all="false"/> which only takes effect if there's a conditional for specified status tags.
2017-12-28 17:49:52 +03:00