Commit Graph

1397 Commits

Author SHA1 Message Date
ikarrus 55799b2ced Resolved Conflicts:
code/defines/procs/priority_announce.dm
2014-08-18 19:44:15 -06:00
Alex 67550ba81e Merge pull request #4472 from Ikarrus/blobreports
Command Reports
2014-08-18 08:03:31 +01:00
ikarrus e06da13430 Comms console outside of Z1 will not longer receive command reports 2014-08-17 13:37:29 -06:00
ikarrus 0de9402a18 Made receiving and printing centcom reports a proc
Also changed a few "Cent. Com." strings to "Centcom"
2014-08-17 13:03:11 -06:00
Firecage 1829e70077 Absolute paths for files in the defines folder 2014-08-16 14:00:45 +02:00
ikarrus c642c7bb74 Minor Announcement format expanded to include Alert Level changes and Emergency Declarations 2014-08-14 20:44:18 -06:00
ikarrus c80f22bf52 Added a sound.
Changed Captain's arrival announcement type to General
2014-08-14 08:52:54 -06:00
ikarrus f4cfd04485 Minor Announcements
Head of Staff announcements (ie the ones made via request consoles) are now "Minor Announcements". While head announcements are unchanged, other in-game notifications have been expanded to use their format, including when the Captain joins the game, and early shuttly launch notifications.

They're basically meant to be big and noticable, but not as annoying and spammy as Priority Announcements.

I wanted to include a sound for them, but I've been unable to find one I was satisfied with.
2014-08-14 00:03:43 -06:00
KyrahAbattoir fcb2fb9de3 Another lowercasing pass on a bunch of items and furnitures.
Synthflesh should be a plural.
Leg cuffs is better than legcuffs.
LaserTag -> laser tag is not a brand name.
centcom -> Centcom is always capitalised.
2014-07-27 19:14:40 +02:00
Menshin cd4a32309c Refined the implementation of the AStar algorithm :
*Reorganised and commented used procs for better visibility/maintenance
*Redid the PriorityQueue class
*Changed the euclidian distance to the byond one (so that we don't calculate float and square root when it's not necessary)
*Made the AStar algorithm use the closed list instead of just filling it
*Some optimization in the open list sorting : last entered is first in case of f ties, slightly less tiles are checked now
*Changes the order directions are checked when adding adjacents turfs to make for more 'realistic' path (read less 'drunk pathing' with lots of diagonals)
*Fixed some turfs densities not being check for diagonal movement
*Closed firedoors are now correctly seens as blocked by the algorithm
*Cleanbots now only moves in cardinal directions, like other bots.
*Updated the info text at the beginning of the file a bit
*Absolutely unrelated : simplified the turf.Bless() proc
2014-07-12 21:58:32 +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
ikarrus 4905beb67e Removes hacky code in favour of a process() check for the nuke disk's location
Instead of having a lot of hacky checks to prevent the disk from leaving the Z-level, it will be checked periodically by process() if Z > 2
2014-05-30 22:01:20 -06:00
Miauw62 cc7760c628 Merge pull request #3750 from hornygranny/tablethisfornow
fixes #3746 fixes #3706
2014-05-28 18:58:11 +02:00
Hornygranny af2e792036 2oop4u 2014-05-27 12:07:53 -07:00
Hornygranny 6b7d3f49a9 muh OOP 2014-05-27 10:40:15 -07:00
Miauw62 5b97955d90 Merge pull request #3719 from Perakp/astar
Fixes stinging from range pathfinding
2014-05-24 19:49:05 +02:00
ikarrus 7ccb0121e3 Swapped the order of subtitle and header of priority announcements 2014-05-18 11:36:02 -06:00
Perakp d1aade90f0 - Fixes Astar being stupid with maxnodes
- Diagonal movement now costs whatever sqrt(2) rounds to.
- Fixes #3665
2014-05-16 23:46:52 +03:00
ikarrus 5ee453901a Added a canUseTopic() 2014-05-14 20:50:46 -06:00
ikarrus 56d5412e50 Merge branch 'master' of https://github.com/tgstation/-tg-station into announcements 2014-05-14 08:34:49 -06:00
Alex 3c2bff9fbc Merge pull request #3521 from phil235/BeartrapIconFix
Beartrap  fixes
2014-05-14 10:46:55 +01:00
Jordie0608 4078973a5c Unidentinization 2014-05-13 02:18:21 +10:00
Jordie0608 dfd2cc4b60 Changed suicide messages to visible_messages and fixed relative pathing 2014-05-13 01:44:29 +10:00
ikarrus 72c2c9e016 -Merged centcom and announcements news channel into a single "Station Announcements" channel
-RC Announcements now produce news stories, too
-The AI may now make priority announcements via communications console that emulates the automated messages
2014-05-08 21:22:45 -06:00
phil235 7f37c303e2 fix 2014-05-06 23:24:16 +02:00
phil235 1457506878 simplifying 2014-05-06 23:10:22 +02:00
ikarrus a48ba0d256 Priority Announcement Changes
-Centcom announcement proc merged with generic priority announcement proc
-Re-added the Captain Announces accompanied by a new pleasant sound, instead of the generic priority announcement
-Captain Announcements will automatically generate a newscaster article
-Priority announcements without any defined accompanying sound will play a generic "Attention" soundbyte as an audio cue
-Communications consoles will display who is currently logged in
2014-05-05 22:18:57 -06:00
phil235 0a163bcc43 target as mob -> mob/living/target 2014-05-03 17:01:16 +02:00
phil235 f3b6de4b61 fix missing 'proc' 2014-04-26 00:40:46 +02:00
phil235 ff4b6cd9e1 trying to reduce duplicate code. 2014-04-26 00:33:39 +02:00
phil235 a122e156c4 Fix legcuffing when stepping on two traps.
Prevents having two beartraps on your legs, which results in one of the two not appearing after resisting.
2014-04-25 00:07:28 +02:00
phil235 999e9eab15 missing parenthesis 2014-04-24 21:56:22 +02:00
phil235 ee6a8baed4 Some fixes for beartraps 2014-04-24 21:41:56 +02:00
Razharas cb5eaf0b10 Tweaks and giggles 2014-04-11 01:36:38 +04:00
Giacomand e8d7526a0c Merge branch 'master' of https://github.com/Giacom/-tg-station into sec_maglite 2014-04-02 17:11:52 +01:00
Giacomand f2bfa3f5d4 Renamed maglite to seclite.
Refactor'd can_hold and cant_hold to use type paths instead of strings.
Removed an undefined object from the medical belt's can_hold list.
2014-03-29 11:10:35 +00:00
Rockdtben 3ae03c3ed1 NewCasters will now show Central Command Updates. 2014-03-25 18:51:58 -05:00
MrPerson 6b29fecda1 Merge branch 'master' of https://github.com/tgstation/-tg-station into qdel_r
Conflicts:
	code/game/machinery/bots/ed209bot.dm
	code/game/machinery/rechargestation.dm
	code/game/machinery/turrets.dm
	code/game/objects/structures/crates_lockers/closets.dm
	code/modules/research/circuitprinter.dm
2014-03-08 22:03:03 -08:00
Razharas 1eebd507ed Added better sprites 2014-03-02 04:59:14 +04:00
Razharas 876950a3cd Issues fixings
Yep
2014-02-24 15:53:24 +04:00
Razharas 8353c74168 Tiny refactoring
Yep
2014-02-24 07:55:11 +04:00
Razharas b27d9c7396 Added RPED, some sprites and new power cell path
Your dreams of big part storage and fast machine part exchange came true
14 slot R&D part-only autoseeker/picker/dropper/exchager is in
Added different sprites for better capacitors and scanning modules
Changed the power cell type to be compatible with all this machine
changing faggotry
All sprites here are codersprites so ask nien/WJ for better ones if you
want
2014-02-24 05:14:43 +04:00
MrPerson 9eee3e5067 First pass at a qdel() garbage collection system for tgstation
Works pretty well. If it can't GC something, it'll just del() it and be done.
Speed is amazing, holy shit.

New procs you should be aware of:
qdel(atom/movable) - sets up an object for garbage collection. Call this rather than del(atom/movable).
atom/movable/Destroy() - called right before the object is GC'd, so it still has a loc. Also called if the object is del()'d.
new controller - garbage.dm has all the details on this. Basically it nulls all references on GC'd objects and force del() them if necessary.
Generally speaking, objects should use Destroy() for behavior prior to deletion rather than Del(). You should also always call the parent so the object gets the right gc_destroyed var set.

ISSUES:
Tries to GC mobs atm. This actually works for new players, not so much for humans/monkies/simple_animals/anything. I'm guessing it needs to clear out their mind and HUD and maybe other things.
Gibbing is really bugged. It works, but the overlays just sit there for awhile and ugh. I'm very tempted just to del() mob/living and mob/camera and call it a day.
qdel() equipment doesn't unequip the item.
Pipes don't generally GC correctly. Debugging suggests they get referenced in many pipenets and that isn't cleared properly. However some do work fine. Need assistance here.
Bots don't GC, probably in the radio controller.
Lots of other shit doesn't GC but it's hard to find them because of the pipe spam.
I think I'm calling Destroy() twice by accident.
2014-02-23 14:55:12 -08:00
Razharas e299b62400 Merge pull request #2817 from Sugarette/spellcheck
Spell check of origin_tech variables in items that no one deconstructs anyway
2014-02-20 16:25:57 -08:00
Sugarette b48583a587 Merge pull request #3 from Sugarette/master
Wonder if it works
2014-02-18 22:07:56 +03:00
Hornygranny 2134add41b Items with throw_range over 7 reduced to throw_range 7. This does not affect players as there's no way to extend your vision range. 2014-02-17 15:44:07 -08:00
Sugarette be3589a0be Fixed origin_tech in manipulator items 2014-02-17 10:28:01 +03:00
Hornygranny 9d3f8f6a2d second pass 2014-02-15 20:11:12 -08:00
Hornygranny 9e14c22747 Reduces throwspeeds on all items to realistic levels. 2014-02-15 19:58:03 -08:00
hornygranny e0d0cedf36 passed over everything with throwforce 2014-02-13 18:06:50 -08:00