Commit Graph

574 Commits

Author SHA1 Message Date
Aranclanos 55dd64fdc2 Adds static power value on areas. These variables should replace machines on the process list, that are only there to consume power.
This commit removes lights from the process list, about 500 of them on the current map.
The purpose of this is to reduce lag from the master controller ticker.
2014-08-06 06:57:52 -03:00
cookingboy3 64131818d8 fix for #4243, adds notification
squashed commits
2014-07-30 11:00:31 -07:00
Cheridan ed4c58e26f Ghost Alerts p II
runes now properly show the area they're in (oops)
Narsie has been moved into her own file.
2014-07-07 15:21:32 -05:00
Alex c65b9b7c79 Merge pull request #4062 from Menshin/powernet_machine_connection
Powernets machines connection polishing
2014-07-07 11:55:52 +01:00
Menshin 92c70b8742 Delegated the panels and trackers control to Solar Control Computers instead of the Sun controller. 2014-07-04 21:42:36 +02:00
Menshin e65919da42 Removed the now unused directwired variable 2014-07-02 23:58:12 +02:00
Menshin b158820043 Fix merging powernet on turf sometimes not connecting machines. 2014-07-02 19:01:11 +02:00
Cheridan b02b93ce2a Notifications + Random Stuff
Adds sound notifications for Ninja and Wizard Apprentice spawning -- hopefully means fewer afk antags.

Adds a ghostnotice span class, used in the new notify_ghosts proc. Upon creation, things that require ghostly attention (NarSie, golem runes) give more visible messages to the dead.

Retires the 'moderate' span class, which was only used in tomato throwing? Refactors tomato code (this ended up being the meat of this PR, somehow...)

Reorganizes some item definition/procs.
2014-07-01 23:16:02 -05:00
Menshin c6c8c58ef7 Machines de/connecting from/to a powernet will now always call the connect_to_network/disconnect_from_network procs instead of de/connecting directly. 2014-07-01 18:54:41 +02:00
Ben G. e5bc43d12e Merge pull request #4008 from advomach/master
List lookup to actual math
2014-06-27 19:43:55 -05:00
Menshin 788a97471f Fixes _make_pownernets_ proc not adding the first cable found to its cable list.
Fixes #4011.
2014-06-25 15:49:50 +02:00
advomach 79447673a0 Update singularity.dm
Removed comment
2014-06-24 19:00:41 -04:00
advomach 48098c3249 Replaced var/sizes_to_number with weirdass formula that is faster and takes up less space in code than list lookups 2014-06-24 11:37:03 -04:00
Cheridan 5cfa0df3d2 Merge pull request #3790 from Miauw62/bestiality
Fixed #3077. Singularity now sucks small items instead of large ones.
2014-06-21 01:13:13 -05:00
Miauw 75a0eadb37 Removes an unneeded unEquip(). 2014-06-19 19:00:10 +02:00
Kelenius a8b7588c12 Merge branch 'master' of https://github.com/tgstation/-tg-station into Temp
Conflicts:
	code/game/objects/items/weapons/grenades/ghettobomb.dm
	code/game/objects/structures/door_assembly.dm
2014-06-19 02:27:10 +04:00
Alex 02d4a5a0d2 Merge pull request #3904 from Cheridan/sillynarnar
Nar-Sie update
2014-06-16 10:37:35 +01:00
Giacomand bc945b6c92 Fixes the gravity generator not updating your gravity status, so you stop floating. 2014-06-13 20:17:11 +01:00
ikarrus df285ff7b3 Resolved conflicts:
code/modules/mob/mob.dm
2014-06-13 09:04:30 -06:00
Cheridan 8796e6e914 Update singularity.dm
smoke effect when ghosts arise as harvesters
2014-06-13 08:48:14 -05:00
Cheridan b80e9eda57 Nar-Sie update 2014-06-11 14:19:58 -05:00
Kelenius 3908160998 One big update for stacks. 2014-06-10 20:36:08 +04:00
Rockdtben 569d12facf Moved item_heal_robotic out of obj/item and into mob_helpers.dm 2014-06-05 19:25:08 -05:00
ikarrus 40800b79e0 The Loggening: Admin Edition
-Build mode logging. A lot of its functions are highly abusable but not logged
-Gravity Catapults no longer spam asay. They will be kept in the game log.
-Logging for Cyborg handcuffs
-Logging for Stripping/equipping
-Logging for decreasing PA power control. Easier as an admin to tell when I should panic without having to watch them like a hawk.
-Logging for disposaling people
-Some code optimizations along the way as well
2014-06-02 23:13:33 -06:00
Menshin 6749f21042 Tweaked the power distribution handling :
* the power is correctly handled each tick instead of 1 tick on 2, because of bad reinitalization,
* apcs now draw power as others machines and fixed the amount of power send to them

Partially fixes #3761.
2014-05-25 00:54:41 +02:00
Miauw 9ed94fcb78 Makes this actually work properly. It's always harder than it looks. 2014-05-24 19:18:17 +02:00
Miauw 9e080d555f Fixed #3077. Singularity now sucks small items instead of large ones. 2014-05-24 17:45:36 +02:00
Cheridan 36bb032957 Merge pull request #3509 from Cheridan/MeteorsSuck
Meteor Stuff
2014-05-17 18:42:16 -05:00
Alex 503fa19098 Merge pull request #3695 from Menshin/powernets_alternative_refactoring
Updated Powernets Refactoring
2014-05-15 13:55:01 +01:00
Alex 3247358c6d Merge pull request #3480 from AstralSerpent/master
"NAR-SIE HAS RISEN" gets accompanied by an "I'M HERE" sound.
2014-05-14 10:39:10 +01:00
Alex b35097ae83 Merge pull request #3633 from Menshin/powernets_refactoring
[RFC] Powernets refactoring
2014-05-14 10:21:21 +01:00
Alex 6686b2ec7c Merge pull request #3687 from Jordie0608/removerelativepathsfromtheeverythingplz
Fixes #3681: suicide messages when crit
2014-05-14 09:24:29 +01:00
Cheridan 3a0bd3de28 Merge branch 'master' of https://github.com/tgstation/-tg-station into MeteorsSuck
Conflicts:
	code/game/turfs/simulated/walls.dm
2014-05-13 14:03:42 -05:00
Jordie0608 dfd2cc4b60 Changed suicide messages to visible_messages and fixed relative pathing 2014-05-13 01:44:29 +10:00
Menshin 2269a2f168 Alternative version of the powernets refactoring (cables connects if they have matching ends) 2014-05-11 00:04:49 +02:00
Alex 7091c012e9 Merge pull request #3625 from Giacom/gravity_layer
You can now walk behind the three top parts of the gravity generator, to...
2014-05-06 20:08:00 +01:00
Alex 5098d78a48 Merge pull request #3603 from hornygranny/jesuschristhowhorrifying
increases narsie spooky level
2014-05-06 19:49:29 +01:00
Hornygranny f615b60c2a dust now uses spawn_dust() 2014-05-06 11:46:25 -07:00
Hornygranny 1d981b9173 flavor text removed 2014-05-06 11:44:03 -07:00
Menshin d42c7114c1 * cleaned, organized and commented a large part of the power code,
* new procs handling : powernets creation/destruction, cable adding/removing, machines adding/removing,
* new cable laying possibility : if you click in the turf you're standing on, you'll try to lay a node cable in the direction you're facing,
* cleaned oversights that could (and would) leaved an empty powernet in the powernets global list
* rewrote the cut_cable and propagate_network procs to correctly updates every connected cables and machines (fix, at last, #1455)
* others fixes and polish...
2014-05-04 00:19:55 +02:00
Giacomand 4f8a312275 You can now walk behind the three top parts of the gravity generator, to be able to fix a space breach in the middle of it. 2014-05-02 16:35:54 +01:00
Hornygranny 3035108aba used visible_message for flavor text 2014-04-30 14:17:20 -07:00
Hornygranny 2853c954c9 Narsie's consume will now spawn remains and gib mobs, and includes a flavorful message. 2014-04-30 13:36:50 -07:00
Aranclanos 14ce1334bb Removes the unused large tubes and fire bulbs.
Made light bulbs have 4 brightness and tubes 8 by default, no random variables changing this value.
2014-04-30 06:22:21 -03:00
Cheridan feec85f655 Merge pull request #3433 from Ikarrus/gravalarm
Replaces the GravGen alarm with a louder, more distressing sound.
2014-04-27 21:19:11 -05:00
Menshin 5814668d52 Fixed a faulty call to Solar Control Computer /tracker_update which could erase the set direction (fix #3528). 2014-04-25 22:47:43 +02:00
Cheridan 4d8160ab14 meteorhit() is kill 2014-04-22 12:16:02 -05:00
AstralSerpent e589992608 NAR-SIE HAS RISEN gets accompanied by that I'M HERE hallucination sound. 2014-04-21 12:02:22 +10:00
Menshin 0fda25c757 * sun and solars now uses world.time instead of timeofday,
* the solar panels are now rotated instantly instead of slowly do it every tick,
* code cleaning
2014-04-19 18:31:22 +02:00
Menshin 7347b1bebd * tweaked the solar update method to be more accurate
* added a check for the midnight rollover of timeofday
* the manual tracking orientation is now synchronized with the sun position update
* now checking if the solar panel/tracker/computer is not already in the solars_list before adding it
* added a message noticing the beginning of a solar panel/tracker deconstruction
* tweaked the manual tracking for better accuracy : the orientation is increased/decrease internally and updated altogether the sun.
2014-04-19 13:06:27 +02:00