Commit Graph

4857 Commits

Author SHA1 Message Date
FalseIncarnate
fbd2ce16e6 Nutrient Split and Diet Flag
Adds Protein and Plant-matter reagents, nutritional values of 15

Reduces nutritional value of Nutriment to 12, down from 15

Adds new flag defines for racial diets, and new dietflags var to species
(must be set manually in the species definition, otherwise it will be
null)

Assigns each species their respective diet's flag:
- Carnivores: Unathi, Slime People
- Omnivores: Human, Tajaran, Kidan, Vox, IPC, Shadowpeople, Golems,
Plasmaman, Nucleation, Vox Armalis
- Herbivores: Skrell, Diona, Grey, Wryn

Adds checks to all nutrient on_mob_life procs to handle simple_animals
versus carbon/human mobs
- Simple animals will heal from any nutrient source, but don't gain
nutritional value since they don't appear to deplete it

Adds check to Nutriment on_mob_life proc to ensure that the diet for a
species has been set
- Failure to set a diet flag will prevent the species from benefitting
from ANY nutrients, while metabolizing the reagents normally
- This is largely for ensuring the species is properly defined

Adds checks to Protein and Plant-matter on_mob_life procs to handle
incompatible diets
- Ingesting Protein does not benefit Herbivores, but will metabolize out
of the body normally
-Ingesting Plant-matter does not benefit Carnivores, but will metabolize
out of the body normally
2015-05-19 04:55:30 -04:00
Krausus
13cac3571e Fixes splinting and broken limb dropping
Splints will now work again, on arms/hands/legs/feet, and health
analyzers will warn about unsplinted limbs. Having a broken left arm
will no longer cause you to drop what's in your right hand.
2015-05-18 05:59:31 -04:00
Krausus
b55903227e Fixes missing Rejuvenate resets
Now resets brain op stage (which was causing beheaded people to die
instantly after rejuv) and decay level (which made long-dead people all
icky)
2015-05-18 04:03:04 -04:00
ZomgPonies
572f364da4 Merge pull request #1054 from PJB3005/vg-masterrace
/vg/ Multitool Menu port + More things constructible + AAC
2015-05-16 21:26:54 -04:00
ZomgPonies
59ed4f69ad Merge pull request #1080 from tigercat2000/WHYDOTHESEKEEPSWITCHING
FIX: Attack logs being backwards
2015-05-16 07:52:33 -04:00
Tigercat2000
b7e5aa5597 FIX: Attack logs being backwards
This commit fixes attack logs being backwards on some erroneous add_logs
arguments.

Things fixed:
 - Martial arts
 - EMP Flashlight
 - Defibrillator
 - C4
 - Handcuffs
 - Resonant Fields
 - Alien Larva attack_animal
 - Mobs being grabbed
2015-05-16 04:41:37 -07:00
ZomgPonies
6bfd92b16a Merge pull request #1061 from FalseIncarnate/wizard
Brooms, Stick-horses, and Flying Wizards!
2015-05-16 07:34:22 -04:00
Krausus
67323c8309 Fixes clientless pAI booping runtime
pAIs without an active client can now be booped back into their card
form.
2015-05-16 06:16:16 -04:00
Krausus
e42e53aac8 Fixes stripping's pickpocket check runtimes
When attempting to strip a human, wearing pickpocket gloves makes
certain actions stealthy. Some of the checks for pickpocket gloves would
runtime when a non-human mob attempted to pickpocket certain slots;
these runtimes have been fixed.

As a consequence of this change, cyborgs - and perhaps certain other
mobs - will now be able to remove IDs and empty pockets.
2015-05-16 04:54:03 -04:00
Krausus
505531f1a6 Fixes AI crew monitor runtime
Instead of the AI crew_monitor being a per-AI variable, it was shared by
all AIs, and recreated each time a new AI was created, as part of that
AI's contents. Bots create and delete a new AI every time they transmit,
which means the crew_monitor would be deleted the moment a bot spoke
over the radio, causing it to runtime.

It is now a per-AI variable.
2015-05-16 02:03:09 -04:00
TheDZD
ed67e06c8d Merge pull request #1058 from ZomgPonies/apollo
Adds 2 new event species
2015-05-15 22:34:47 -04:00
ZomgPonies
b6a672d49f Ugh 2015-05-15 19:34:14 -04:00
ZomgPonies
9f45272444 Typo fixes, missing icons 2015-05-15 15:50:45 -04:00
ZomgPonies
4ceb335a5e Snowflake fun removal 2015-05-15 15:36:39 -04:00
ZomgPonies
7120277444 Fixes attack_hand snowflakiness 2015-05-15 11:44:33 -04:00
ZomgPonies
795f902c9b Merge pull request #1063 from tigercat2000/Iforgot
FIX: Linda airflow affecting mob when it shouldn't
2015-05-15 11:17:31 -04:00
ZomgPonies
2c965aef08 Fixes reported issues. 2015-05-15 10:57:37 -04:00
Tigercat2000
49bf914c14 FIX: Linda airflow affecting mob when it shouldn't
This commit fixes Linda airflow affecting AI eyes, blob overminds,
observers, and replaces the magboot check for humans with a better
version.
2015-05-15 05:08:48 -07:00
FalseIncarnate
55087890de Brooms, Stick-horses, and Flying Wizards!
A port of https://github.com/d3athrow/vgstation13/pull/4377

![image](http://i.gyazo.com/dd415093be904dc9e5d40570598eddb9.gif)

Allows brooms to be wielded with 2-hands. Doing so places the broom
between your legs so you look like you are riding it.

You can also put a horsehead mask onto the broom to create a stick-horse
to ride. This can also be wielded, but will ALWAYS appear between your
legs.

And for the more magically inclined, wielding a broom or stick-horse (2
hands!) will cause you to ride it like a witch, giving you the ability
to bypass hazards such as tables and banana peels.
2015-05-15 03:52:36 -04:00
Krausus
b908a4b0ab Fixes copy-paste error
It was like this before I changed it!
2015-05-15 02:08:28 -04:00
Krausus
f5f15881c2 Fixes luminosity checks
They should now be more in-line with how they worked under the old
lighting system.
2015-05-15 01:07:08 -04:00
ZomgPonies
95b1c1d87c Adds two new event species 2015-05-14 22:30:38 -04:00
PJB3005
257e77c400 /vg/ Multitool menu port!
With 100% better squashing.

I hope.
2015-05-14 22:34:02 +02:00
Krausus
a5ee1a754d Fixes runtime in resist_holder() 2015-05-14 08:37:57 -04:00
Krausus
f45737c097 Fixes animal milking runtime
Also simplifies the way milk is generated, since the old way was hacky
and runtiming
2015-05-14 08:14:23 -04:00
Krausus
106712fff6 Fixes bot following fix runtime
Oops.
2015-05-14 07:27:55 -04:00
Krausus
b702d5d974 Fixes human ex_act infinite loop
If an explosion wanted to remove more non-vital limbs than a human had,
it would infinitely loop trying to find another limb to remove.
2015-05-14 06:47:09 -04:00
Krausus
b89c01391a Fixes IPC death runtimes
These seemed to happen consistently when they were EMP'd to death
2015-05-14 05:06:11 -04:00
Tigercat2000
be8f4b56a2 Fix ventcrawling, Fix packages qdelling things
This commit fixes a couple bugs with ventcrawling, and makes packages work
correctly again, instead of just qdelling themselves.
2015-05-13 11:37:11 -07:00
TheDZD
6bdb1af83d Merge pull request #1022 from ZomgPonies/gui
Allows GUI buttons for accessories
2015-05-12 20:11:41 -04:00
ZomgPonies
4c043396a9 Merge pull request #1023 from tigercat2000/Somebugs
Get_Area(), Event, and grab fixes
2015-05-12 20:11:32 -04:00
Tigercat2000
3a6ab84e83 Get_Area(), Event, and grab fixes
This commit fixes the following things:
 - Get_Area() now properly returns the area
 - Events will no longer runtime upon being manually triggered by an admin
 - The prison break event works again
 - Grabbing will no longer runtime (May result in people with pixel
   offsets from a grab being stuck, better than a runtime)
2015-05-12 17:04:28 -07:00
ZomgPonies
396dc7c00b Was missing an important bit 2015-05-12 20:04:18 -04:00
ZomgPonies
a26cda2fa1 Allows GUI buttons for accessories 2015-05-12 19:23:17 -04:00
ZomgPonies
1dea1acbb9 Cleanup 2015-05-12 18:33:40 -04:00
ZomgPonies
825f4c1c06 Mob login runtime fix 2015-05-12 18:07:30 -04:00
TheDZD
a30d5953dd Merge pull request #1017 from ZomgPonies/superfix
Couple of superhero fixes
2015-05-12 15:11:51 -04:00
ZomgPonies
bd71606cf6 Merge pull request #1010 from tigercat2000/GAAB
Generic Action/Action Button System
2015-05-12 14:35:36 -04:00
ZomgPonies
c29d2f4dac Merge pull request #1008 from tigercat2000/VcrawlFixes
Generic ventcrawling + Bugfixes
2015-05-12 14:35:01 -04:00
ZomgPonies
2a0dcedd64 Couple of superhero fixes 2015-05-12 08:10:04 -04:00
ZomgPonies
884fb4e4ca Merge pull request #981 from tigercat2000/ContextBasedGrab
Context-Based: Grab Intent (Bayport)
2015-05-11 17:44:33 -04:00
Tigercat2000
7ca4eeb703 Fix headbutting and remove drawback 2015-05-11 14:43:45 -07:00
ZomgPonies
303a664f78 Merge pull request #1000 from Fox-McCloud/species-touchup
Species Touchups
2015-05-11 17:06:52 -04:00
ZomgPonies
f22ae3acbe Merge pull request #998 from tigercat2000/LightShit
Baystation12's Lighting Overhaul
2015-05-11 17:06:30 -04:00
AnturK
568d289a67 Generic Action\Action Button System
This commit ports the GAABS from -tg-station13. The GAABS allows for
generic, movable, hud elements for spells, powers, and items.
2015-05-11 09:32:08 -07:00
Tigercat2000
1266df1f3d Generic ventcrawling + Bugfixes
This commit makes the ventcrawling system operate independant of
ventcrawling verbs. Every type of /mob/living now has a ventcrawling
variable, which allows them to interact with the ventcrawling system if
set to 1 or 2. The AltClickOn() defines for each ventcrawling mob have
been removed, and replaced with a single AltClick() define on ventcrawl
machinery.
2015-05-11 06:28:44 -07:00
Tigercat2000
a3a1236c23 CBGI: Comment out every controversial thing
This commit comments out all of the controversial code from the new grab
system. The code is being left non-hard-deleted as an example, the
framework would be a shame to kill.
2015-05-11 04:43:09 -07:00
Krausus
520699c4ae Fixes spawning as NPC/drone before game start 2015-05-11 07:16:34 -04:00
Krausus
64f39bb871 Fixes AIs and ghosts not being able to follow bots
This probably touches more files than it really should, but I can't
think of a better way to do it that isn't overhauling the saycode.
2015-05-11 06:38:14 -04:00
ZomgPonies
6fe5db524a Fixes reflecting projectiles 2015-05-10 20:10:27 -04:00