Commit Graph

1011 Commits

Author SHA1 Message Date
coiax
b46d0e0c50 Adds the spontaneous brain trauma event (#41665)
cl coiax
add: Adds the Spontaneous Brain Trauma to the event pool. Sometimes your brain just goes a little wrong.
/cl

Brain traumas are !fun!, and even more !fun! than your appendix getting inflamed.
2018-12-02 20:36:05 +13:00
coiax
472adff31f Alien infestation event not limited to once per round, but will not fire while existing aliens are alive (#41719)
Alien infestations are not limited to once per round only, but will never
happen while existing aliens are alive.

Essentially, it's really disheartening when a larva is spawned, and it dies
quickly because the player makes a mistake or is unlucky. So, aliens MAY happen
again, but it's still a weight 5 event, so don't get your hopes up.
2018-12-01 15:32:42 -08:00
tralezab
671ad454b0 Fix spontaneous appendicitis picking incompatible biotypes (#41729)
Hatred outlives the hateful.
2018-11-30 13:45:24 -08:00
YPOQ
c7647436c5 Fix kudzu spawning (#41720) 2018-11-29 21:28:39 -08:00
ShizCalev
e7cc2074c6 Fixes missing decal icons, repaths food cleanables to cleanable/food (#41573) 2018-11-28 23:12:35 -05:00
skoglol
90627f8935 Adds minimum to space pirate payoff event (#41687)
* Adds minimum to pirate payoff.

* round replaced with floor

* It compiled fine in my mind

* if to max
2018-11-28 22:40:55 -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
coiax
f86fd9626f Pets (and Beepsky) are a higher priority for random sentience events (#41634)
* Pets are higher priority for random sentience events
* Actually compiles now
* Beepsky is now also high priority
2018-11-23 21:38:54 -08:00
MrDoomBringer
2229b552f0 Fixes my shit a bit (#41518)
Fixes #41506
@kriskog fixes this

cl MrDoomBringer
fix: Ghost Announcements work a little bit better now. Space dust won't be announced, and general wording has been improved.
/cl
2018-11-15 21:46:21 +13:00
MrDoomBringer
8c156a99fe Makes events ghost-announce their spawned atom much more consistently (#41278)
Fixes #41217

cl MrDoomBringer
fix: Events now announce follow-able atoms to ghosts much more reliably
/cl

Implements @ShizCalev's suggestion to just have the event ghost-announce normally, then call a separate ghost announcement for the "atom of interest" as it is created.
2018-11-14 22:27:35 +13:00
ShizCalev
214eae8d82 Fixes a bunch of missing symbols 2018-11-12 19:05:02 -05:00
Barhandar
a020b4515a Makes pumpkin meteors only spawn during catastrophic waves (#41203)
this is insane
2018-10-29 12:22:57 -04:00
MrDoomBringer
16be1163c0 Gives random events a ghost follow link (#40727)
Also improves the code for anomalies a bit

cl MrDoomBringer
tweak: Random Events now have a follow link for ghosts!
/cl

Untested, and anomalies are broken right now but that takes like 2 seconds to fix
2018-10-27 13:11:48 +13:00
Jordan Brown
493ce05582 Merge pull request #40994 from davethwave/patch-4
reduces electrical storm chance
2018-10-25 17:26:09 -04:00
MrDoomBringer
e4db7a8477 Fix explosions damaging rod form wizards and supply pod contents (#40758)
The issue was that when casting rod form, the wizard is forceMoved() into the
rod. When an epicenter explosion happens, explosion.dm forcibly goes through
the contents of EVERYTHING, and calls ex_act().

This caused the wizard in the contents of the rod to get damaged by epicenter
explosions (ie if they hit a fuel tank in rod form)
2018-10-19 22:20:59 -07:00
davethwave
cd171d4063 reduces electrical storm chance
40->20
2018-10-17 14:55:17 -07:00
AnturK
149bb02107 Fixes rpgloot armor runtime. (#40965) 2018-10-17 14:19:34 -04:00
MMMiracles
b14f3827e5 Suplex The Rod (#40774)
* rod suplex

* flux spawn + medal setup

* deals with rod-form wizards

* webedit lol
2018-10-12 04:48:23 -04:00
XDTM
a8a04c2a1f Stop pirates counterfeiting currency (#40839) 2018-10-10 21:34:18 -07:00
ShizCalev
88a5a1b1bc Fixes pirates being able to ransom themselves to CentCom 2018-10-02 04:55:34 -04:00
ShizCalev
7a2e5fdb2d Fixes immoveable rod move force (#40551) 2018-09-29 23:25:45 -04:00
XDTM
1553afab24 [Ready for review]Adds credit holochips to replace magic cash (#40462)
cl XDTM
add: Added credit holochips, a form of semi-physical currency to use in transactions. They can be generated by id cards by drawing from bank accounts and can be used to make payments.
add: There is no limit to the amount of credits that can be stored on a holochip, but being holograms they are vulnerable to electromagnetic pulses, and may disappear if exposed to one!
add: Holochips can be split with alt-click, and can be merged by clicking on another holochip.
/cl

Inserting physical cash into ids and printing it on the go is really jarring, and since we're on a sci-fi universe i think that hard-light hologram chips with encrypted credits sounds more believable.

As a plus, they don't have to deal with messy stack calculations with different denominations, and simply have a credits var that holds their amount. They change color based on the amount of cash for easy recognizability.
2018-09-26 10:35:02 +12:00
Iamgoofball
f735a7d34d [READY][PAID CODE] economy PR (#40312)
With the power of CAPITALISM AND ECONOMY, you too could be This Guy.
2018-09-23 02:50:51 -04:00
AnturK
a27be2fa14 Objective refactor (#40220)
* Objective refactor

* Custom antag types for leftover objectives.

* Removes dumbness.

* Forgot to hide these from TP

* Makes the list static.
2018-09-20 11:18:59 -04:00
Tad Hardesty
3b7549adc3 Set the default port name for navigation computers (#40277) 2018-09-15 05:56:35 -04:00
ShizCalev
8a7df8ba45 Makes usage of Nar-Sie consistent (#40029)
cl ShizCalev
spellcheck: Nar-Sie's name has been revised to Nar'Sie.
/cl
2018-09-08 13:31:09 +12:00
81Denton
523ebb1adf Add bomb defusal shuttle loan event (#39881)
This is a shuttle loan event where CentCom asks you to defuse an active
syndicate bomb.

The good part? It pays a lot of dosh.

The bad part? You have a real chance of dying, blowing up the supply shuttle
and tearing a big fukken hole into cargo bay.

Maybe cargo techs will step back for a second and think "is the money really
worth that risk"?

Anywho, I blacklisted syndie bombs from cargo exports (so people can't just
send it back to CentCom) and also moved shuttle loan related items into
shuttle_loan.dm.
2018-08-25 02:06:18 -07:00
AnturK
bd72eb3371 Refactors exports and pirate loot gathering. (#39749)
* Pirate export

* Stuff

* ATTEMPT TWO

* Vault area was removed look for control terminal here.

* Fixes and improvments

* cb stuff
2018-08-24 12:50:53 +03:00
ninjanomnom
2fbfdd03d2 Handle shuttle registration from inside the template 2018-08-19 22:20:23 -04:00
Patrick Chieppe
2c8248575a Logging system refactor and improvement (#39521)
* Refactor several log lines to use datum_info_line and atom_loc_line

* Add default return strings from datum_info_line and atom_loc_line

* Add parentheses around atom_loc_line data

* Change more logs to use atom_loc_line

* Add check in atom_loc_line for turfs to avoid calling get_turf on them

* Re-add removed 'at'

* Replace datum_info_line with key_name and atom_loc_line with loc_name

* Refactor logging functions

* Avoid double-logging self-interactions

* Fallback to simple stringification if all else fails in key_name()

* Rewrite muscle spasm logging to use log_message

* Standardize logging of martial arts

* Tweak individual logging panel look

* Fix individual logging panel source

* When I typed || I really meant &&

* Fix Telecomms logging always showing client logs in the panel

* Reverts addition of buggy ownership log to panel

* Remove colon

* Fix missing log_directed_talk tag

* Add warning for missing type in log_direted_talk

* Change warnings to stack_traces

* Add square brackets around fallthrough key_name() case to help parsing

* Allow atom arguments/src in log_*() functions

* Change log_combat call with null argument to log_message

* Change mecha types' log_message() arguments to match atom and mob version

* Add key_name() case for atoms

* Fix resist_grab() unsetting pulledby before log_combat gets a chance to use it

* Fix log_globally logic

* Add logging for hitting objects with items

* Move log_combat() to atoms.dm

* Use utility functions for object stringification in log_combat()

* Use utility functions for object stringification in log_combat()

* Add missing logs for interacting with display cases

* Rewrite log_combat() comment

* Add missing space in log_combat()

* Add logging for hitting grilles barehanded

* Add missing ..()
2018-08-12 21:41:09 +02:00
Jordan Brown
45ec7d38af Merge pull request #39481 from AutomaticFrenzy/patch/syntax
Fix some weird syntax
2018-08-02 17:26:58 -04:00
Emmett Gaines
e248d342b8 Removes the shuttle timid var (#39445)
Now that shuttles are all loaded via template we no longer have a need for the
timid var on shuttles.

Well not all shuttles, it seems I forgot to template the backup shuttle so it
wouldn't have been working until now. This got fixed here as well.
2018-08-01 21:19:16 -07:00
Tad Hardesty
2552190fbf Fix some weird syntax 2018-07-31 01:24:31 -07:00
bgobandit
8f71d71f1e Fix more spelling/grammar (#39450)
self explanatory
2018-07-29 16:19:42 -07:00
vuonojenmustaturska
690314b048 let's decontaminate 2018-07-15 16:04:25 +03:00
Jordan Brown
f426bea834 Pizza delivery event now has a chance to add nanomachines to a pizza (#39070)
* Pizza delivery event now has a chance to add nanomachines to a pizza

* Simplified pizza spawning
2018-07-13 12:09:31 -04:00
Jordan Brown
d0184129b2 Merge pull request #38982 from 81Denton/shuttle-loans
Adds a new shuttle loan event, tweaks others
2018-07-12 12:01:51 -04:00
Jordan Brown
96c92d5eb7 Merge pull request #38938 from ninjanomnom/b-b-bump
Converts collide back to bump and fixes double bumping in another way
2018-07-09 14:50:27 -04:00
Denton
6bb8eb514d just bee urself 2018-07-08 09:33:13 +02:00
ninjanomnom
059da44453 Converts collide back to bump and fixes double bumping in another way
This is in preparation for step_x support as the default behavior for these procs is necessary for proper functionality.

turf/Enter and atom/movable/Move default code got rewritten to replicate default byond functionality with minor changes.
2018-07-07 11:22:29 -04:00
Trevor Serpas
bee0b5b2c3 Afterattack() Signal (#38606)
* adds signal and modifies each call of afterattack to call it's inherited proc

* uses new macro for sendsignal()

* map fuck

* skip precommithooks

* combine and negate 2 ifs
2018-07-07 02:00:25 -04:00
ShizCalev
ecf60367ab Fixes aurora event runtime (#38787) 2018-06-28 21:43:28 +03:00
ShizCalev
89752866aa Merge branch 'master' into spellcheck 2018-06-26 16:43:41 -04:00
AnturK
1572321137 Adds make_associative helper. 2018-06-23 22:22:05 +02:00
AnturK
99cdc677b3 Forgot this 2018-06-23 18:06:00 +02:00
AnturK
7b80231d6c Fixes anomaly area selection 2018-06-23 18:04:05 +02:00
ShizCalev
ff532a4ca4 Spellchecks TGStation 2018-06-19 18:57:44 -04:00
Tad Hardesty
8834612336 Fix item fortification scrolls stacking (#38551) 2018-06-18 04:02:26 -04:00
Tad Hardesty
05107047dc Merge pull request #38098 from kevinz000/transit_space_refactor
Transit space refactor
2018-06-16 12:40:37 -07:00
ninjanomnom
d483ff3ef0 Regexes
`([^_\.])SendSignal\((.+?)\)` -> `\1SEND_SIGNAL(src, \2)`
`([\.\w]+?)\.SendSignal\((.+?)\)` -> `SEND_SIGNAL(\1, \2)`
2018-06-13 19:19:23 -04:00