Commit Graph

362 Commits

Author SHA1 Message Date
XDTM
334a1d44f2 Adds the Curse of Madness to wizard spellbooks (#41496)
* Adds the Curse of Madness to the wizard's spellbook

* anti-magic check

* Update code/modules/antagonists/wizard/equipment/spellbook.dm

Co-Authored-By: XDTM <heliumt@yahoo.it>

* Magic traumas + magic immunity prevents spellcasting

* feedback

* fix

* fax

* Added two new special traumas

* I'm not mad, everyone else is

* New minor trauma, godwoken gives holy

* stalking phantom trauma

* math

* heartbeat

* Custom message
2018-12-02 09:46:10 -05:00
coiax
7325357a48 Scrying orb now grants sixth sense (and xray) to whoever possesses it (#41643)
cl
add: A wizard's scrying orb now grants both xray vision, and the ability to hear the dead to whoever possesses it.
balance: However, as soon as the orb is no longer in your possession, these abilities fade.
/cl

This was @XDTM's idea, when he implemented near death experiences.

It works even when in your backpack.

This also adds the TRAIT_XRAY_VISION, for non-genetic, non-eyeball sources of xray.

Why? Having a wizard talking to ghosts means it looks like he's talking to thin air. Also, this makes scrying orb a little more active in its knowledge gathering. Ghosts will have the chance to mislead the wizard with whatever they're talking about.
2018-12-02 20:39:05 +13:00
Jordie
c67f2767b1 Moves changeling power feedback to sting_action (#41653)
All powers that don't have their own feedback calls, Absorb DNA and Linglink, now call ..() after any cancelling returns.

Fixes #41621, Absorb DNA would do an extra feedback call from try_to_sting()
2018-12-02 20:30:47 +13:00
tralezab
b794d3d4aa Magic Survivalists can have spellbooks count if they did not use them (#41610)
cl
tweak: spellbooks now count towards the survivalist objective if they were not used.
/cl

fixes #40857

It feels like shit if you don't know spellbooks don't count and you just lose out of nowhere. It also doesn't make sense for them to count if they still have magic powers.
2018-12-02 20:25:12 +13:00
ShizCalev
9997f956b0 Fixes ODing on crank/other chems, viruses, and other things damaging/healing robotic limbs. (#41593)
cl ShizCalev
fix: Fixed chem OD's causing damage to robotic limbs.
fix: Fixed wood golems repairing robotic limbs every tick of life()
fix: Fixed vampires repairing robotic limbs every tick of life()...
fix: Fixed shadowpeople healing robotic limbs every tick of life()
fix: Fixed poppeople healing robotic limbs every tick of life()
fix: Fixed adjustBruteLoss and adjustFireLoss not properly discriminating for limb status types.
tweak: Fixed bibles healing robotic limbs, because your false deity can't fix SCIENCE.
fix: Fixed the Starlight Condensation, Nocturnal Regeneration, Tissue Hydration, Regenerative Coma, and Radioactive Resonance virus symptoms repairing robotic limbs.
/cl

Gonna be away the next two weeks, so if there's anything major after today just go ahead and close it and I'll fix it when I get back.
2018-12-02 20:12:22 +13:00
skoglol
552a1e50e8 Adds sound to all whetstones (#41714)
* Adds sound to sharpener

* just src
2018-12-01 14:08:07 -05:00
ShizCalev
e7cc2074c6 Fixes missing decal icons, repaths food cleanables to cleanable/food (#41573) 2018-11-28 23:12:35 -05:00
XDTM
01f794a153 Teleportation standardization, channels, and interception (#41371)
cl XDTM
add: Spraying holy water on tiles will now prevent cult-based teleportation from using them as a destination point.
tweak: Quantum, wormhole and magic teleportation is no longer disrupted by bags of holding.
/cl

Refactors some teleportation code so it uses do_teleport instead of directly forceMove.
do_teleport now has a channel argument, to specify the type of teleportation used. This will affect what can and cannot interfere with teleportation. For example, BoHs interfere with bluespace teleportation but not wormhole, quantum or magic teleportation.
do_teleport now sends a COMSIG_ATOM_INTERCEPT_TELEPORT signal, allowing the target turf (or anything placing a signal on said turf) to react appropriately. As a proof of concept, blessed tiles use it to prevent teleportation from the cult channel.

Intercepting teleportation can have interesting potential uses, from teleport denial fields, to teleport scramblers (teleports you somewhere else instead), telefraggers that gib anyone unlucky enough to teleport in their area of effect, teleport anchors that shunt all teleportations in a wide area to themselves, and so on.
2018-11-29 10:33:55 +13:00
Qustinnus
b9f5dbac6b Adds a new race: Ethereal (also adds wrappers for nutrition adjustment) (#40995)
cl Qustinnus / Floyd / Ethereal sprites by Space, is that it? / Alerts and food sprites by MrDroppodBringer
add: Adds Ethereal; a race which lives off of electricity and shines bright. If they are healthy they shine a bright green light, and the more damaged they are, the less they shine and the greyer they become. Their punches do burn damage and they are weak to blunt attacks!
They dont need to eat normal food and dont have nutrition, Instead they gain charge by going into borg rechargers, eating ethereal food or doign specific interactions.
refactor: all nutrition changes now go through a proc so we can override behavior
/cl

Adds Ethereal. A race which is essentialy inspired by Zoltan but then with different mechanics to make it fit with SS13 more. I'm trying to stay away from making them actually provide power but the change from nutrition to electricity seemed kind of fun.

They have the following specifications:

    They are walking lights; and shine bright and green if healthy, and get greyer and darker the more damaged they are. When dead they are just a grey unlit corpse.
    They do burn punch damage instead of blunt.
    They are weaker to blunt; especially when low on charge
    They have charge instead of nutrition. Charge is gained by some interactions or by going into a borg charger. or eating new ethereal food.
    They are slightly stronger to shock damage, and gain charge from it a bit; however, it is still deadly to them and thus they aren't free insulated gloves.
2018-11-29 10:09:56 +13:00
Eskjjlj
795b46fef8 🆑 Eskjjlj (#41605)
fix: Cult structures no longer become intangible when unanchored.
/🆑

You can't move through unanchored emitters or even chemical grinders so there should be no reason you can move through unanchored cult structures.
That also fixes https://github.com/tgstation/tgstation/issues/41584
2018-11-21 11:14:07 -05:00
Jordan Brown
2e227d11ee Merge pull request #41602 from swindly/word_crimes
Fixes more word crimes
2018-11-21 09:44:00 -05:00
swindly
4bcd3cdc55 fixes word crimes 2018-11-19 17:56:59 -05:00
PKPenguin321
17dfb07f99 Refactors deathsounds, adds 2 new ones (lizards and borgs) (#41493)
* refactors deathsounds, adds 2 new ones
- deathsounds are sounds played when *deathgasp is used, either manually or automatically
- deathsounds are a var on /mob
- made xenos use the var
- removed the hack for xenos deathsound in the deathgasp emote and made it use the var
- 2 new deathsounds: one for lizards, one for borgs

* fixes and balance
- alt species now get their deathsound properly and have it set in their species datum
- people who are silent (poisoned, mimes, or otherwise) wont make a deathsound
- people who have over 50 oxyloss when they die wont make a deathsound (to allow silent kills)

* addresses review
makes some comments prettier/better, drops a .loc

* new borg deathsound
with credits.txt

* moves simple animal death_sound to new deathsound
code for simple animal deathsound has been changed around in simple_animal.dm to tie it to deathgasp like everything else
2018-11-18 17:58:27 -05:00
Jordan Brown
d89f7f9cac Merge pull request #41547 2018-11-18 10:57:47 -05:00
ShizCalev
013a44eed6 resettispaghetti 2018-11-16 13:56:02 -05:00
ShizCalev
796d7084c4 Fixes solo changelings getting kill other changeling objectives (#41486) 2018-11-16 13:30:31 +01:00
Tranquill6
61b531d758 Relating to issue #39395, the ratvarian spear now breaks when it is used as opposed to never breaking. (#41483) 2018-11-16 06:52:44 -05:00
4dplanner
c84a92f4ce Passes thrownthing to hitby (#41411)
* Passes thrownthing to hitby

* Items now also pass thrownthing

* No longer uses default arguments

Also fixes bananium shield

* Adds more arguments to hitby calls

* Standardises throw_impact

* Clears up some loose ends

* Adds back wacky comment

* Reinstates can_push=FALSE on bananium shield
2018-11-15 10:25:04 +01:00
moo
852dfb9a38 HOTFIX: Makes Sentient Disease actually playable (150 hours certified) (#41490)
* rip

* where did I pull those parenthesis from...
2018-11-14 14:37:27 -05:00
ShizCalev
a6a4958dba Malf camera network upgrade fixes (#41455)
* Malf camera network upgrade fixes

* cleanup
2018-11-13 18:10:17 -05:00
ShizCalev
2088a9ce90 Cyborg modules now automatically turn off when deactivated (#41326)
* Cyborg modules turn off when deactivated

* gives mining borgs built in mining scanners
2018-11-13 01:53:14 -05:00
subject217
ed12430e63 reduces chance from 25 to 10 for both types of rightandwrong (#41151)
cl
balance: The Summon Guns and Summon Magic rituals will now only turn 10% of the crew each into antagonists, down from 25%.
/cl

This has frustrated people for a long time. The issue is that these rituals irrevocably destroy the round that they're in by turning one dangerous murderboning antag into literally half the station becoming dangerous murderboning antags. I reduced it to 10% each. I wanted to reduce it to zero so that they wouldn't delay the round for 30 minutes after the wizard teleports in and immediately dies, but I figured that simply reducing the amount of antags spawned would be better received.
2018-11-12 22:04:43 +13:00
ShizCalev
dc019b09ba Fixes illiterate & blind mobs being able to read books (#41400)
cl ShizCalev
fix: Fixed inconsistency where illiterate and blind mobs were able to read some books/manuals, but not others.
fix: Fixed mobs being granted mime speak even if they failed to finish reading the Guide to Advanced Mimery Volumes 1/2.
/cl

Step towards resolving #41396
2018-11-12 21:10:21 +13:00
MMMiracles
aba2a148a9 Adds Reflector Blobs (#41296)
cl MMMiracles
add: Blobs can now upgrade their strong blobs to reflect projectiles at the cost of their normal health and extra brute resistance.
/cl

When creating strong blobs, creating another strong blob on top of another will create a reflective blob. Reflective blobs reflects projectiles based on their ricochet chance, meaning this more or less shuts down laser fire until someone rushes in to break the reflector or uses ballistics on it.

This might be really only useful for stuff like people placing emitters half-way across the station but having more avenues to deal with laserspam isn't bad.
2018-11-12 20:52:33 +13:00
oranges
df1be9b10c Merge pull request #41313 from ninjanomnom/remove-the-sanic-oc
Replaces the move fast traits with speed mods
2018-11-12 20:45:53 +13:00
moo
fb66f6016d Sentient Disease has nearly ALL symptoms and can now hear! (#41206)
cl Coughby
add: Sentient Disease now has almost all symptoms at its disposal.
code: Adding single-symptom disease abilities is super easy now.
fix: Sentient Disease can now hear (not sure if this was a bug or intentional).
add: Sentient Disease is a linguist and knows all languages. Still cannot speak.
cl
Purpose:

To give more options for sentient disease, seems pretty lackluster at the moment.
Code:

Typed-Categories as well as Categorizes symptoms, the selection menu will reflect this.

Symptoms in-code without Name/Desc pull from the virus IF they have a singular virus in the list (lol symptoms are a list).
Misc Changes:

Items that cost less under the guise of decreasing the stats when they in-fact increased stats had their discount removed and description to properly reflect they infact buffed the disease.

Costs are my theorycrafting relative to the current costs and I don't plan on changing them until I see how this plays out. See code comment for healing disease prices/changes.

Necro-Metab was not added because I feel like just amassing bodies via morgue seems lame. Inorg-metab was included however.

I hate tgui but if someone wants to edit it to not be a massive table that looks like the wurm spelllist w/o priest restrictions be my guest.

UPDATE: I've included the ability for SDs to hear. They should get a follow link to infected people who speak but I haven't been able to test. The hearing aspect has been tested and works.

UPDATE2: This is also missing the mega ultra evil symptoms but I don't want to touch this PR anymore.
2018-11-12 20:24:26 +13:00
ShizCalev
43768593c8 Fixes posibrains becoming unusable if the old mob suicided. (#41336) 2018-11-07 23:36:40 -05:00
skoglol
f7e2f8d7b4 Adds safer alt-click helper proc, fixed proc name, removed signal. (#41237)
cl Skoglol
code: New helper proc for alt-click turf listing, bypasses any interaction overrides.
code: Ghosts and revenants now use the new proc.
fix: Ghosts can no longer toggleopen sleepers, adjust skateboard speed or close laptops
fix: Revenant can now alt-click turf to list contents.
tweak: Revenant now slightly less nosy, use shift click to examine.
tweak: Alt-clicking the same turf again no longer closes the turf listing tab.
/cl

Fixes #22410

Use the new helper when you want something to have alt-click turf content listing, but no other world interaction.
2018-11-07 21:50:04 +13:00
oranges
3a819a51ee Merge pull request #41316 from AnturK/objective_dupes
Adds duplicate search range to objectives
2018-11-07 21:45:45 +13:00
ShizCalev
c167d37121 Fixes admin damage editting not logging the target's real name / key. (#41318)
* Fixes admin damage editting not logging the target's real name / key.

* few more areas
2018-11-06 14:10:20 -05:00
AnturK
36a97a5817 Adds duplicate search range to objectives 2018-11-05 11:50:15 +01:00
ninjanomnom
59c8947cf8 Replaces the move fast traits with speed mods 2018-11-05 01:42:54 -05:00
ShizCalev
54641a029e Covering your mouth when you cough/sneeze now stops the spread of germs. (#41230)
cl ShizCalev
fix: Covering your mouth when you cough/sneeze can now help stop the spread of germs.
/cl
2018-11-04 14:51:26 +13:00
skoglol
735f7dca90 Changes revenant spell unlocks to only use stolen essence (#41221)
* Changes unlocks to only use stolen essence.

* Add alt-click functionality.

* Revert "Add alt-click functionality."

This reverts commit b8de8499bc64d5a7d10960e3a59fe5be702a94db.

* Adds a stun for soft-crit drain targets.

* Compile before pushing you dumdum.
2018-11-01 12:31:26 -04:00
ShizCalev
b9132a200a Fixes admin antag'ing feedback / logging (#41233) 2018-10-31 12:09:39 -04:00
ShizCalev
d87ee8d293 Changeling messages now use the proper style (#41148) 2018-10-26 17:01:28 -04:00
Kierany9
51549a41b7 Finding an objective target by role now actually picks a random target (#41036)
* finally

* length check
2018-10-21 21:39:17 +03:00
MrDoomBringer
703a365aec Various code improvements (#40932)
* adsf

* asdf

* take these

* Further cleanup to windoor code
2018-10-21 03:01:02 -04:00
ShizCalev
c4064c9dac Fixes syndicate MMI nameswaping, adds better user feedback when inserting a dead brain (#41023) 2018-10-20 11:35:32 -07:00
Supermichael777
26843eaf7e Necromantic stones are now a bit more aggressive when snatching souls (#40917)
* The revenge of ghost snachin willy
* I'm not sure that other way works so I'll do one I'm sure of put one i know will
* Should probably put it before the check
* Uses the spookier list
2018-10-19 22:19:52 -07:00
tralezab
2a97dd6549 phyrexian scriptures (#40993) 2018-10-18 19:39:49 -04:00
ShizCalev
22090ed8ee Corrects abductor baton path (#40974) 2018-10-17 22:35:56 -04:00
Kierany9
5ef054e605 Assimilation Update (#40769)
* new objectives + qol

* beep

* oof

* one line

* prevent kill objectives from having the same target as assimilate objectives

* Free objectivev

* code review

* fix

* yes
2018-10-16 15:14:33 +02:00
ShizCalev
61b701b8e9 Fixes monkey revhead issues (#40938) 2018-10-16 11:20:26 +02:00
oranges
d9c420fc30 Merge pull request #40876 from vuonojenmustaturska/borganim
Restores the hazy effect to the saboteur borg's chameleon module
2018-10-15 23:55:05 +13:00
ShizCalev
ff8ce1aec0 Fix servant_spawns empty list runtimes (#40872)
A couple things depend on this list being populated to teleport mobs around
towards end game, so removing the spawnpoints just to spread players around at
the very start of the round seems like a pretty blatant oversight.
2018-10-12 14:45:53 -07:00
vuonojenmustaturska
60b686994d restoration 2018-10-12 02:35:23 +03:00
kevinz000
3e7184c975 Combat/Stun (slip) overhaul staging, mobility flags, adds crawling (#39967)
Aiming to implement the framework oranges has detailed in https://tgstation13.org/phpBB/viewtopic.php?f=10&t=19102
Moves canmove to a bitflag in a new variable called mobility_flags, that will allow finer grain control of what someone can do codewise, for example, letting them move but not stand up, or stand up but not move.

Adds Immobilize()d status effect that freezes movement but does not prevent anything else.
Adds Paralyze()d which is oldstun "You can't do anything at all and knock down).
Stun() will now prevent any item/UI usage and movement (which is similar to before).
Knockdown() will now only knockdown without preventing item usage/movement.
People knocked down will be able to crawl at softcrit-speeds
Refactors some /mob variables and procs to /mob/living.
update_canmove() refactored to update_mobility() and will handle mobility_flags instead of the removed canmove

cl
rscadd: Crawling is now possible if you are down but not stunned. Obviously, you will be slower.
/cl
Refactors are done. I'd rather get this merged faster than try to fine tune stuff like slips. The most obvious gameplay effect this pr has will be crawling, and I believe I made tiny tweaks but I can't find it Anything I missed or weird behavior should be reported.
2018-10-11 11:22:21 +13:00
ShizCalev
87fe618bd2 Ghosts can now see the AI's camera (#40689)
cl ShizCalev
tweak: Ghosts can now see active AI cameras.
/cl
2018-10-06 08:06:38 +13:00
AnturK
6b83785146 Ticker subsystem cleanup (#40649)
* Removes unused vars from ticker.

* More ticker cleanup

* This too.
2018-10-06 07:51:18 +13:00