Commit Graph

47 Commits

Author SHA1 Message Date
Tad Hardesty
5a0bb2f599 Grammar fixes to atom descriptions (#31293)
* Grammar fixes to atom descriptions

- Capitalization and punctuation on most descriptions
- CentCom instead of centcom where appropriate
- Earth instead of earth where appropriate

* Remove spaces before newlines and oneline some strings
2017-10-05 16:33:35 -04:00
Firecage
ee3e8d2846 merge conflict fix 2017-10-05 11:22:57 +02:00
Firecage
2ae0380fef Does some code standardization/consistency 2017-10-05 11:13:47 +02:00
XDTM
152c8901db Adds action buttons for spiders, refactors action code, nurse spiders can set a hereditary directive for their children to follow (#30572)
* Nurse spiders can set a hereditary directive for their children to follow

* Action buttons!

* unstale

* Done

* worth it

* unused now

* a

* Integration with #30593

* ports #30996

* span

* antur

* Adds spider midwife emoji

* paneled

* a

* fixed panels
2017-09-28 23:01:41 +02:00
AutomaticFrenzy
9e1f582cbb Wizard can't cast shout or whisper spells when he is unable to speak 2017-09-26 12:19:50 -04:00
kingofkosmos
a479714b5f Adds missing span-endings (#30494)
* Adds missing </span>'s.

* ".name]" --> "]" and
"to_chat(GLOB.admins," --> "message_admins("
and one [name] --> [src]

* Earlier commit was a mistake, lesson learned

* Hopefully all is ok now.

* Revert "Hopefully all is ok now."

This reverts commit 3c95e41b4c13ce96469861e9a97453adf4b56826.

* Revert "Earlier commit was a mistake, lesson learned"

This reverts commit d611af1e4a76690453a7f9808b6e2c429b679f6c.

* Revert "".name]" --> "]" and"

This reverts commit d538b9efef2d7d8be9122bf5ceaf105055059bc6.

* message_admins fix
2017-09-11 14:09:53 +02:00
Ashe Higgs
0a32812982 Separates actions.dmi into multiple files (#29587)
actions.dmi is way too cluttered and messy, and with inhands getting the axe I decided to fix this, too. I separated the major categories of actions into their own files, like antagonist-specific actions and spells. A full list of categories is found here:

    actions_AI.dmi contains AI-specific actions;
    actions_clockcult.dmi contains clockcult-specific actions, and scripture quickbind icons;
    actions_cult.dmi contains cult-specific actions as well as sintouch;
    actions_flightsuit.dmi contains flightsuit and flightpack actions;
    actions_items.dmi contains minor item-specific actions such as the hierophant club and jetboots;
    actions_mecha.dmi contains actions related to mechs;
    actions_minor_antag.dmi contains antag-related actions with no other spot, like devils/abductors;
    actions_revenant.dmi contains revenant ability icons;
    actions_silicon.dmi contains minor silicon and console icons, like pAI and xenobiology consoles;
    actions_slime.dmi contains slime actions;
    actions_spells.dmi contains icons for all spells;
    actions_xeno.dmi contains icons for all xeno actions; and
    backgrounds.dmi contains backgrounds for the action buttons.
2017-08-01 14:26:42 +12:00
ShizCalev
59ef81245b Changes some 1s and 0s to TRUE and FALSE (#29144) 2017-07-10 10:31:34 -04:00
Mike Long
4185f8959f Fixes bugs in devil
Fixes devils not losing souls upon resurrection,.
Fixes spells appearing deactivated upon resurrection.
Fixes unascendable devils being able to get ascension grade spells.
2017-06-26 12:30:59 -04:00
Joan Lung
2672d88800 Renames stun effects and changes stun input values as preliminary work for changing stuns to status effects (#28524) 2017-06-18 23:03:51 -03:00
Lzimann
3e34eb9e3f Changes all sounds to be lower case, plus standardizes their references 2017-06-11 00:38:45 -03:00
bawhoppen
0c491a9111 Removes ragin mages (#27872)
* good riddance

* tgstation.dme

* updates configs I guess

* removes other traces of ragin mages
2017-06-04 21:30:59 +02:00
Robustin
425e8fca71 Fixes galore 2017-05-19 18:20:48 -04:00
kevinz000
685309d099 [READY]fixes certain things having a 0 cooldown, makes spells recharged by processing instead of spawn. (#27242)
* ... (#10)

* Automatic changelog generation for PR #21599 [ci skip]

* Makes action buttons use the hud themes.

* update sound/ambience/LISCENSE.txt

fixed typos

* makes multiverse sword not work on bullshit mages (#21622)

Makes the multiverse sword not call the shuttle if it's already called.

* Clockcult end-round report now includes CV, caches, and scripture states (#21618)

* Clockcult end-round report now includes CV and scripture states

* hup

* Build your own shuttle

* Adds nitrous oxide reagent (#21608)

* Adds liquid nitro

* other reagent

* removes duplicate

* Automatic changelog generation for PR #21608 [ci skip]

* Automatic changelog generation for PR #21623 [ci skip]

* Adds a new beard style. Broken Man. (#21625)

* -electric guitar-

* i've changed, im sorry

* lisa, baby, im sorry.

* Automatic changelog generation for PR #21625 [ci skip]

* joanwhy

* Removes multiverse once again

* Diversifies golems

* Golems

* fixes a bug

* Replaces Servant cyborg emagged modules with some limited scripture and tools (#21632)

* Replaces Servant cyborg emagged modules with some limited scripture and tools

* not THAT limited

* sorry standard borg

* bugfix

* Automatic changelog generation for PR #21632 [ci skip]

* Automatic changelog compile, [ci skip]

* Automatic changelog generation for PR #21621 [ci skip]

* Fixes religion subsystem (#21664)

* Fixed a small grammar error in default drone laws

* reduces cost of throwing weapons box (#21649)

* Automatic changelog compile, [ci skip]

* Slab scripture text now starts off in compressed format

* Fixes #21669

* Automatic changelog generation for PR #21634 [ci skip]

* Adds a brain damage line (#21641)

* This was long overdue

* Those are spaces, not tabs

* PubbyStation bugfixes (#21637)

- fix disposalpipe in brig
- fix missing chapel light
- fix cargo sec filing cabinet
- fix science scrubber pipe
- add station maps
- add atmos waste line

* Automatic changelog generation for PR #21628 [ci skip]

* Borers can now no longer take control of implanted people or cultists (#21631)

* Borers can now no longer infest security officers or cultists

This is to solve the issue of borers ruining cult rounds by revealing
every cultist there is, as well as to stop borers from having instant
access to kill weapons by simply infesting a security officer, HoS, or
the Captain.

* Different plan

Now instead of being unable to infest, they cannot mind control.
Everything else is fair game.

* Fuck forgot to remove this bit

* Changed c to victim to fix error

* Automatic changelog generation for PR #21631 [ci skip]

* Clockcult AIs get the ability to listen in through cameras (#21643)

* Automatic changelog generation for PR #21643 [ci skip]

* Adds a config file to enable/disable shuttles from being bought (#21642)

* Adds a config file to enable/disable shuttles from being bought

* Remove useless comment

* Allows more things to be put in the microwave (#21650)

* more items can be inserted

* tweaked explosions

* intent

* Automatic changelog generation for PR #21650 [ci skip]

* The round ending on one server will send a news report to the other server (#21636)

* News Reports

* Misc

* Typo fixes

* Automatic changelog generation for PR #21636 [ci skip]

* Corrects sound/ambience/LISCENSE.txt filename

* Syndicate Lava Base Remap

* Forgot turf editor

* Fixes bug with baseturf helper

* Fixes clockcult round end stats showing up when they shouldn't (#21658)

* round end code is magic

* br

* Science Channel for Shaft Miners

* More typecaching hostile mob targetting

* Automatic changelog generation for PR #21671 [ci skip]

* Cyborg and AI default theme.

* Fixes ai restoration button
Adds an eject button to the restorer UI

* Increases mech-mounted plasma cutter effectiveness

- The mech mounted plasma cutter now fires faster and costs less per
shot.
- Changed the mech plasma cutter's sound to match the other cutters.

* Correct call to addtimer, preventing runtime (#21661)

All the arguments passed into the arglist appear to be required to not
be named arguments, so this simply strips out the named arguments and
passes them in as the base format.

This is confusing

* Viewers always returns a list (#21676)

* Medibot healing fix (#21677)

When Medibots were switched to charcoal, which lacks and OD threshold,
they were made unable to use it for healing.

* Automatic changelog generation for PR #21677 [ci skip]

* Fixes airlock security levels messing with their health (#21674)

* Adds the max_integrity modifier proc

* Fixes #21581

* Automatic changelog generation for PR #21674 [ci skip]

* Makes golems different, also fixes a couple of bugs (#21656)

* Diversifies golems

* Golems

* fixes a bug

* Carbon proc

* Spacing

* oops

* Automatic changelog generation for PR #21656 [ci skip]

* Fixes cyborg proselytizers being unable to repair clockwork structures with power

* Adds the mining conscription kit

* Automatic changelog compile, [ci skip]

* makes borer event admin only

* You can now see which shuttle is coming in the status panel

* Automatic changelog generation for PR #21683 [ci skip]

* Plasmaman random names (#21675)

* added list file of plasmaman names to config/names
added var/list that lists plasmaman.txt
added procs for picking and generating random plasmaman names, using plasmaman.txt and roman numerals 1-99

* Automatic changelog generation for PR #21675 [ci skip]

* drying

* Fixes Belligerent not updating the hud walk/run button

* I accidently made flashbangs divide by zero. (#21687)

* Update flashbang.dm

* fix

* Update flashbang.dm

* Automatic changelog generation for PR #21655 [ci skip]

* "snowy" mapgen now adds snow (#21681)

* "snow" mapgen now adds snow

* the remie review

* booties supreme

* AI Mech Recovery

- Allows AIs to be recovered from mech wrecks by hitting the mech with
an AI card.
- Makes the explanation text of the AI's new control REALLY BIG
- Antagonist AIs can now be carded from mechs, and changes the text to
reflect this.

* Fixes Unicode CL tags breaking changelogs.

* drying rack

* Automatic changelog compile, [ci skip]

* As the AI: Click an AI status display to bring up the prompt for changing it

* make sure the user is an ai

* ree

* kek

* ...

* Update mecha.dm

* Update mecha.dm

* Clockwork walls are about as hard for hulks to break as rwalls

* Interdiction Lenses are more likely to turn off if damaged
Interdiction Lenses and Tinkerer's Daemons give less CV

* Proselytizing alloy shards is instant

* Cogscarabs will once again convert metal, rods, and plasteel directly to alloy

* Removes some stale comments (#21700)

* Stale comments and some redundant string interpolation

* Clockcult AIs with borgs 'slaved' to them will convert them when hacking via the robotics console (#21646)

* Clockcult AIs with borgs 'slaved' to them will convert them when hacking via the robotics console

* leeeet's make this more obvious

* "

* this is okay i guess

* Automatic changelog generation for PR #21646 [ci skip]

* Automatic changelog generation for PR #21690 [ci skip]

* Fixes internals buttons (#21696)

* Fixes internals buttons

* i'm very happy with my own ui tbh

* Adds confirmation message to Latespawn toggle and adds shutter to south bar window (#21692)

* Adds confirmation message to Latespawn toggle

* Adds a shutter in south bar window

* Automatic changelog generation for PR #21699 [ci skip]

* Automatic changelog generation for PR #21647 [ci skip]

* Fix runtime with rupees

This enforces the item crossing them is actually a mob

* Human nightvision (#21638)

* Human nightvision

Humans can see in the dark a little bit around themselves.
-Add pictures here-

Forces clients onto 510 and suggests clients upgrade to 511 in the default config. The suggestion is still commented out but forcing clients to 510+ is mandatory.

Ghosts and brains now actually render the default HUD instead of skipping the whole process. Dead mobs will show their fullscreens. All of the existing ones will skip rendering to dead mobs to keep the existing behavior of not rendering the brute/blindness screens.
Fixes #17389
Probably fixes #19248 need to test

* Darker human nightvision it is

* Replaces the 'no cache' alert with an alert showing what you need for the next tier (#21689)

* Replaces the 'no cache' alert with an alert showing what you need for the next tier

* please make a base
please

* this can't be more dynamic, no

* duh, I can do this

* much better

* i'm just kor but with clocks

* Automatic changelog generation for PR #21689 [ci skip]

* [READY]] FLIGHTPACKS (AKA cooler, better, and technological wings with a unique gimmick!) (#20860)

* vroom

* wew

* a

* b

* morestuff

* .

* a

* .

* .

* basicsprites+extend/retract

* ...

* .

* thanks travis

* woops

* thankstravisv2

* redundence

* ishouldstopmakingsomanygoddamncommits+empdamage

* stuff

* ..

* ion_trails

* fixes_conflict_1

* fix

* compilesnow

* .

* fuck

* WIP: Multi Step Assembly

* thismightfixitthismightnot

* shoe-attachment

* noselfremoval

* wooops

* tweaksandcrashing

* runtimes

* runtimesfuntimes+crash update 1

* thisprobablywontcompile

* stillwip

* githubPLEASEWORK

* fixes conflicts 3/3

* REFACTORSUNTESTED

* fixingconflicts2

* fixingconflicts3/3

* updates

* stuffs

* ...

* stillWIP

* stufffs

* .

* ..

* runtimesfuntimes2

* stuffs2

* conflictfix

* ...

* fuck

* fix

* bah merge conflicts

* knockback_testing1

* conflictfixing...

* mergeconflicts

* plop

* socloseyetsofar

* tweaksandfixes

* conflicts

* fix

* fixes

* fix

* woops

* woops2

* hotfix

* ...

* flufftextandfixes

* test

* ..

* fix1/2

* stuff

* finallysomeoneteachesmehowtofixthisshit

* FIX

* why

* .

* bitflagsshitflags1

* bitflags-shitflags2

* bitflags-shitflags2

* bitflags_shitflags_4

* autofloating

* minerbuffgetthepun?

* notouchingfloors

* ...

* .

* f l o a t

* kek

* kek

* fixes

* fixes2

* sprites

* Automatic changelog compile, [ci skip]

* Adds grappa icon and a grappa bottle to booze vending machine.

* Fixes roundstart active turfs on z2

* The Ark of the Clockwork Justicar no longer appears above mobs

* Revert "Human nightvision"

* disposal unit now uses a tgui (#21702)

* disposal unit now uses a tgui

* Woops, still can't do that

* code review

* curse you tgui

* Automatic changelog generation for PR #21702 [ci skip]

* You can now quickbind up to 5 scriptures

* Automatic changelog generation for PR #21718 [ci skip]

* Fixes the false armblade removal timer. Refactors addtimer (#21714)

* Clever girl...

* Make the addtimer unique param safe

* Refactor addtimer calls

* Moved the location of the define so the other SSs can use it

* Automatic changelog generation for PR #21714 [ci skip]

* Automatic changelog generation for PR #21707 [ci skip]

* Automatic changelog generation for PR #21704 [ci skip]

* Adds a new spawn xmas tree landmark and also adds a new holiday, the festive season.

* Adds the spawner to the maps

* Fix QDEL_IN macro for new addtimer code

* Fixes addtimer for doors on shuttles

* nulls the physical var for the modular computer on destroy

* plasmaman/random_name gets gender parameter

Moved Rand Roman from random plasmaman name proc to plasmaman_name proc

* Automatic changelog generation for PR #21710 [ci skip]

* Automatic changelog generation for PR #21712 [ci skip]

* Automatic changelog generation for PR #21694 [ci skip]

* reagents get hot

* FUCK

* reconfiguration

* Faster listclearnulls()

About twice as fast on lists with 25% nulls in testing

http://hastebin.com/amofejukoc.php

* dixed

* Update species.dm

* Update species.dm

* Update species.dm

* Hyenas pride

* 1000K

* Removes code from xmas celebrate() and move to the appropriate holiday datum.

* Adds a tool to find Unquoted List Associations

* Automatic changelog generation for PR #21760 [ci skip]

* REMOVES THE FUCKING COMMA (#21768)

* Automatic changelog compile, [ci skip]

* Fixes all remaining addtimers missed

* Fixes the qdel reference finder (#21763)

* Fixes the qdel reference finder

* Speed improvements.
find_references is now a proc

* Cleanup on aisle 892 (#21745)

* Plastic explosives now delete upon suicide

* Removes some old code

* Allows resisting out of straight jackets

* Verifies roller bed dock functionality

* Fixes lava's article

* Fixes Syndicate pinpointers being stuck to one mode

* Addresses some of @phil235's concerns

* Removes the Highlander left standing message

* Automatic changelog generation for PR #21745 [ci skip]

* Balancing Borers (#21726)

* borer reproduce chems 100->200, borer random detatch() removed, borer stun halved, borer infesting someone doesn't auto-unhide, borer event weight 20->15

* stun is 3

* Automatic changelog generation for PR #21726 [ci skip]

* Automatic changelog generation for PR #21753 [ci skip]

* Automatic changelog generation for PR #21752 [ci skip]

* Gives cyborgs the ability to open morgue trays (#21747)

* Gives cyborgs the ability to open morgue trays

* Small balance changes

* Automatic changelog generation for PR #21747 [ci skip]

* Automatic changelog compile, [ci skip]

* CRUSH THEM

* Fixes #21789

* Fixes urinals

* Automatic changelog generation for PR #21777 [ci skip]

* Fixes lavaland cave generation creating airless turfs.

* Fixes clicks on the click catcher being off (throwing/shooting in blackness)

Fixes #21662

* gives syndimedborg a fucking medigun so it's not useless

* Adds more golem types, adds golem shell creation with adamantine slimes (#21708)

* Diversifies golems

* Golems

* fixes a bug

* Glass golem + species bullet_act support

* Glass shatter

* More golems

* Final changes

* Added to xenobio

* update

* minor space

* Totally bananas

* silly me

* what Joan said

* Updated titanium, plastitanium, and alloy golems.

* Automatic changelog generation for PR #21708 [ci skip]

* Snack trash generation rework

Quick and ugly but it's OO so fuck you.
\>typecasting src
smh

Fixes #21583

* Fixes Syndicate Medical Cyborg Penetration

Syndieborg hyposprays now properly penetrate thick clothing.

* Add 15 height to the Gas Filter UI to remove scroll bar

* New Devil Obligation: Dance Off (#21765)

* New Devil Obligation: Dance Off
New Devil Spell: Summon Dancefloor

* Typofix

* typofix round 2

* Automatic changelog generation for PR #21765 [ci skip]

* Automatic changelog generation for PR #21779 [ci skip]

* Automatic changelog generation for PR #21774 [ci skip]

* Several things

* Fuckin hell git, i swear i'm never branching off a branch again

* restored code for plasmaman/random_name proc

* Fixes a negative sqrt

* Allows renaming of drinking glasses

🆑 Cobby [stolen from Bandit]
:add: Allows one to rename bartending drinks
:/cl:

* Automatic changelog compile, [ci skip]

* Automatic changelog generation for PR #21793 [ci skip]

* [READY] AI hologram can move seamlessly between holopads (#21720)

* AI hologram can move seamlessly between holopads

* Reuse the hologam object because we are good at computer

* Thanks Miso

* I  take back what I said about being with computers

* get_closest_atom works as expected now

* Proper rotation

* I speak da TRUE TRUE

* Automatic changelog generation for PR #21720 [ci skip]

* Automatic changelog generation for PR #21814 [ci skip]

* Automatic changelog generation for PR #21796 [ci skip]

* Automatic changelog generation for PR #21804 [ci skip]

* Automatic changelog generation for PR #21811 [ci skip]

* W00PS

* fugg2

* all gud

* Update aimed.dm

* Update aimed.dm
2017-05-15 19:39:50 +12:00
Joan Lung
db9d86a39e New() goes in the trash, we've gotta Initialize() 2017-04-19 18:22:26 -04:00
coiax
de35ec5f67 Partial sparks boilerplate reduction (#26081)
* Partial sparks boilerplate reduction

- Lots of obects are making `/datum/effect_system/spark_spread`, setting
them up, firing them, and then not qdeling them afterwards.
- Makes a `do_sparks` global proc that takes the same arguments as `set_up`
and then calls `start` and then `qdel`
- Switches a bunch of things to use this proc
- Makes emitters keep their own spark_spread datum around, since they
spark so damn much.
- Also makes some things use timers and ports some things to Initialize.

* Compilation
2017-04-12 19:59:45 +02:00
Kyle Spier-Swenson
a6b8fb79f8 [s]fixes 1 advance proc call exploit that could be used to enable auto admin (#26033) 2017-04-10 19:44:40 -03:00
Cyberboss
9e1ef0ffe2 Global variable wrappers (#25325)
* Add the system for managed global variables

* Travis ban old globals

* So you CAN inline proccall, that's neat

* Fix that

* master.dm

* Remove the hack procs

* Move InitGlobals to the proper spot

* configuration.dm

* Fix the missing pre-slash

* clockcult.dm

* This is probably for the best

* Doy

* Fix shit

* Rest of the DEFINES tree

* Fix

* Use global. for access

* Update find_references_in_globals

Always hated that proc

Whoever made it must've bee a r e a l idiot...

* __HELPERS tree

* Move global initialization to master.

Fix the declaration

* database.dm

* Dat newline

* I said DECLARATIVE order!

* Here's something you can chew on @Iamgoofball

* game_modes.dm

* Fix this

* genetics.dm

* flavor_misc.dm

* More stuff

* Do it mso's way. Keep the controllers as global

* Make master actually see it

* Fix

* Finish _globalvars/lists

* Finish the rest of the _globalvars tree

* This is weird

* Migrate the controllers

* SLOTH -> GLOB

* Lighting globals

* round_start_time -> ticker

* PAI card list -> pai SS

* record_id_num -> static

* Diseases list -> SSdisease

* More disease globals to the SS

* More disease stuff

* Emote list

* Better and better

* Bluh

* So much stuff

* Ahh

* Wires

* dview

* station_areas

* Teleportlocs

* blood_splatter_icons

* Stuff and such

* More stuff

* RAD IO

* More stuff and such

* Blob shit

* Changeling stuff

* Add "Balance" to changelogs

* Balance for changelog compiler + Auto Tagging

* Update the PR template

* hivemind_bank

* Bip

* sacrificed

* Good shit

* Better define

* More cult shit

* Devil shit

* Gang shit

* > borers

Fix shit

* Rename the define

* Nuke

* Objectives

* Sandbox

* Multiverse sword

* Announce systems

* Stuff and such

* TC con

* Airlock

* doppllllerrrrrr

* holopads

* Shut up byond you inconsistent fuck

* Sneaky fuck

* Burp

* Bip

* Fixnshit

* Port without regard

* askdlfjs;

* asdfjasoidojfi

* Protected globals and more

* SO MANY

* ajsimkvahsaoisd

* akfdsiaopwimfeoiwafaw

* gsdfigjosidjfgiosdg

* AHHHHHHHHHHHHHHHHHHHHHHH!!!!!

* facerolll

* ASDFASDFASDF

* Removes the unused parts of dmm_suite

* WIP

* Fix quote

* asdfjauwfnkjs

* afwlunhskjfda

* asfjlaiwuefhaf

* SO CLOSE

* wwwweeeeeewwwww

* agdgmoewranwg

* HOLY MOTHER OF FUCK AND THATS JUST HALF THE JOB?!?

* Fix syntax errors

* 100 errors

* Another 100

* So many...

* Ugh

* More shit

* kilme

* Stuuuuuufffff

* ajrgmrlshio;djfa;sdkl

* jkbhkhjbmjvjmh

* soi soi soi

* butt

* TODAY WE LEARNED THAT GLOBAL AND STATIC ARE THE EXACT SAME FUCKING THING

* lllllllllllllllllllllllllllllllllllllllllll

* afsdijfiawhnflnjhnwsdfs

* yugykihlugk,kj

* time to go

* STUFFF!!!

* AAAAAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!!!!!!!!

* ngoaijdjlfkamsdlkf

* Break time

* aufjsdklfalsjfi

* CONTROL KAY AND PRAY

* IT COMPILEELEELELAKLJFKLDAFJLKFDJLADKJHFLJKAJGAHIEJALDFJ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

* Goteem

* Fix testing mode

* This does not belong in this PR

* Convert it to a controller

* Eh, fuck this option

* Revert controllerization Ill do it some other time

* Fix

* Working controllerization

* FOR THE LOVE OF CHRIST PROTECT THE LOGS

* Protect admins and deadmins

* Use the inbuilt proc
2017-04-06 23:26:13 -06:00
Cyberboss
d0bfbc3e13 Rename ticker to SSticker 2017-03-22 10:48:25 -04:00
XDTM
6f184513a0 Runic golems (#25028) 2017-03-18 08:04:47 -03:00
Lzimann
5a618297ce Replaces the default output with the to_chat wrapper. 2017-03-10 01:32:05 -03:00
Lzimann
e58ee1724f Refactors logging into a single var for all mobs and adds a wrapper for proper logging. 2017-03-04 13:32:35 -03:00
kevinz000
66fd91934a Makes aimed projectile spell respect clickdelay overrides. (#24235)
* Update spell.dm

* Update aimed.dm

* Update spell.dm
2017-02-20 09:41:17 +13:00
Cyberboss
b86e224571 Makes qdeleted and qdestroying macros (#23666)
* Makes qdeleted and qdestroying macros

* Makes QDELETED and QDESTROYING uppercase

* Swap qdel checks istype's for != null's

* Fix it

* How was this missed?
2017-02-06 00:59:27 +13:00
Joan Lung
663ef769f7 Reworks Guvax (#21202)
Guvax is now targeted; invoking it charges your slab to bind and start converting the next target attacked in melee within 10 seconds. This makes your slab visible in-hand.
tweak: Above 5 Servants, the invocation to charge your slab is not whispered, and the conversion time is increased for each Servant above 5.

Using Guvax on an already bound target will stun them. The bound target can resist out, which will prevent conversion.

Sentinel's Compromise is now targeted, like Guvax, but can select any target in vision range.

Sentinel's Compromise now also removes holy water from the target Servant.

Clicking your slab will cancel these scriptures.

Both of these will change your cursor, to make it obvious they're active and you can't do anything else.


Convert times are faster at very high servant amounts, but it's much easier for 1-on-1 conversions to go wrong and have the target escape. (Though the binding makes early conversions slightly easier.)

Resist time for the binding is a flat 4 seconds, and moving/being moved while chanting will break it immediately.
Formula for conversion time is 5 + (0.5 for each valid servant above 5) seconds up to a maximum of 10 seconds at 15 servants.
2016-10-29 18:16:21 +13:00
oranges
6ed7d6681d Merge pull request #21208 from XDTM/WheelchairWizard
Wizards no longer need sandals to cast robed spells
2016-10-29 18:13:52 +13:00
XDTM
77b41c5edb No sandals 2016-10-27 00:49:23 +02:00
Joan Lung
f6738d0e2a Ranged abilities now have a reference to their user 2016-10-25 11:18:51 -04:00
Joan Lung
40d331ab5a The Judicial Visor no longer requires an open hand to use (#21138)
* The Judicial Visor no longer requires an open hand to use

* SMITE

* ew ew ew
2016-10-24 22:54:04 +13:00
Joan Lung
ce13143d9d Replaces yet more istypes with helpers (#20806)
* uses more istype helpers

* oranges is inefficient
2016-10-10 17:48:35 +13:00
Joan Lung
dff4db726a Replaces a bunch of istypes with their proper macros (#20739)
* Replaces a bunch of istypes with their proper macros

* i'm not sure doing a 100+ file changed pr on a whim is something you do when bored
especially if you do it by hand because you never actually learned the regex that would let you automate it

* i'm just... gonna do this, because that check was true a lot and it shouldn't matter
2016-09-30 20:21:08 +02:00
KorPhaeron
6d2ab983fd New Wizard Armour 2016-08-25 17:32:16 -05:00
GunHog
3a6df6950a Fixes Fireball clicking issues (#19423)
* Fixes Fireball clicking issues

- Attempts to fix clicking issues with Fireball during mob changes and
other edge cases.

* Alien spit now turns off when used when out of plasma.
2016-07-23 14:28:10 +12:00
GunHog
e2cfcb0bd1 Aimed Fireball Spells! (#19030)
* Fireball Spell Changes

- Changes the fireball spell to be click-to-fire.
- Converted Devil and Wand fireballs as well.
- Moved some code to the /proc_holder level to work across the /alien
and /spell branches.

* Tweaks and Fixes

- Infernal Fireball is now a projectile and has the right explosion
values.
- Removed non-projectile spell versions of fireball, as they are unused
- Fixed fireball not seeking adjacent targets.
- Fixed incorrect bolding slashes.

* Fix

Fixes the fireball sometimes missing.

* Fixes and tweak

- Uses TRUE/FALSE defines instead of 0 and 1 for boolean variables.
- Ranged abilities now remove themselves tries to use an ability in a
disabled state. (Such as being knocked out)
- Define for the click cooldown.
2016-07-05 09:06:01 +12:00
Jack Edge
df9bd80c03 More spawn() removal and timers and stuff 2016-06-25 11:55:21 +01:00
GunHog
4b9aada951 Uses client click intercept
- Alien spit now uses click intercepts in the client
- Risk of bugs greatly increased
2016-06-02 11:01:45 -05:00
GunHog
9e3a55e2e1 Aimed Xeno Spit
- Neurotoxic spit is now an aimed projectile.
- Research analyzer action button updated
- Framework for adding more aimed things later
2016-06-01 13:43:19 -05:00
Nerd Lord
ff984ec0cc cleanup 2016-05-08 11:46:26 -04:00
Jack Edge
8534e3dbb9 Code review 2016-04-24 16:29:17 +01:00
Jack Edge
6e20f27240 Coding review fixes
- Removes trailing returns
- Removes mentioning code history in comments
- Uses built in features for cleanable decals
- Uses /obj/effect/dummy class to detect for incorporeal nature
2016-04-18 18:44:09 +01:00
Jack Edge
f1ca391da4 Phasing and comments 2016-04-18 17:35:53 +01:00
Menshin
9afe050025 Replaced last occurences of gc_destroyed by qdeleted(). 2016-03-05 01:58:56 +01:00
phil235
3c8a9274bf Fixes spell action button not being updated correctly regarding zlevel and clothes requirements. The buttons are now always not red in these cases but clicking them give the proper fail message.
Fixes blind AI (lack of power) staying blind if transfered to a mech or a card.
Fixes magboots action button icon not updating when toggling the boots on.
Fixes Area teleport spells not having a cancel button when choosing the destination area.
Fixes spell action button not being removed when the spell is refunded.
Fixes revenant spell action button icons not being updated when the revenant is inhibited by a null rod.
2016-02-29 16:30:54 +01:00
AnturK
48014e4897 Fixes wizard spell check 2016-02-26 16:23:33 +01:00
phil235
0ec876d9fe Refactored the item's action system. Items can now hold multiple actions.
The "set internals" button of tank items now turn green when it's used as internals.
Removed research scanner from drones (since cyborgs don't have it, it's more consistent)
Removed the ignore_madkadjust mask var.
The sechailer mask now has an adjust mask action button, so I removed the adjust verb that it was using.
The item's action are now created on item/New() instead of trying to create it every time someone picks the item up.
I split hud/action.dm, the datum/action stuff is now in the datum folder (/datum/action.dm), whereas the code for action buttons is kept in the hud folder under action_button.dm. Also I moved some /datum/action code that was in some files back into datum/action.dm where it belongs.
2016-02-23 19:37:42 +01:00
phil235
91839f5f70 Action buttons will now only update when needed instead of every Life().
The action buttons now update their icon instantly.
Fixes versions of pickup(),equipped() and dropped not calling the parent.
Fixes drone not being able to remove a defib from their storage.
You can now cycle the mime mask by clicking it in your hand.
The action buttons for hardsuit and hooded suits now only appears when you're wearing the suit.
Created two mob helper procs getBeltSlot() and getBackSlot().
Created /datum/species/proc/on_species_loss() to handle stuff when our race change, currently only used by jelly and slime race to remove their exotic blood from our reagents and to remove slime people's action buttons.
2016-02-22 00:34:59 +01:00
Firecage
dbc744d9ee Moves the code for spells to the Modules section. 2016-02-01 19:33:44 +02:00