Commit Graph

144 Commits

Author SHA1 Message Date
VistaPOWA
3ad69ef1da Stops get_candidates from runtiming when it comes across and observer without a client 2014-01-13 16:23:23 +01:00
Giacom
c8120da49c Merge pull request #2283 from YotaXP/list2text-refactor
Optimized and refactored list2text, text2list, and replacetext.
2014-01-11 10:11:13 -08:00
YotaXP
cb0516f909 Corrected my own grammar failings. 2014-01-11 12:51:42 -05:00
Giacomand
f1e7637bab Disabled the game using set background by making all instances of it use a define, which can be changed in code/_compile_options.dm
Testing has revealed that it reduces the sluggishness of the game, though it will spike from lag when the singularity is loose. Thanks to ChuckTheSheep for suggesting it.

Server owners who want to keep set background enabled can do so by changing the define.
2014-01-10 18:32:28 +00:00
YotaXP
50cbc0ac29 Fixed a major bug. Improved speed further. 2014-01-08 23:03:43 -05:00
YotaXP
f98a57b750 Optimized and refactored list2text, text2list, and replacetext.
Also fixed some grammar in the station blueprint code.
2014-01-07 22:15:25 -05:00
Aranclanos
f00c80bd43 Merge pull request #2104 from Giacom/gulag_therevenge
[MAP] The Gulag: The Revenge: Part 2.5
2013-12-21 15:05:57 -08:00
Giacomand
47545f439e * Added ore boxes to the gulag, and added a conveyor belt which goes outside and has a loading machine, which will take the ore from the orebox.
* Added sprites for the stacking machine going in the reverse direction, just set the dir to 1 instead of 2.
 * Added prison intercoms which will not broadcast until someone hacks it. Added these intercoms in the gulag, the perma brig and the brig cells.
 * When a prisoner has received enough points for freedom, if they try to move the shuttle, or open the middle door, while someone is on it they will get an error message. This way there is no way for a free'd prisoner to release their fellow prisoners once they have reached their point target. The shuttle will depart right away when you call the shuttle from the stacking console, to stop prisoners from getting on while it departs.
2013-12-20 22:09:06 +00:00
Razharas
55063ef171 Woopsy daisy
Thats what horrible abominations of intext checks do to you
Fixed #2088
2013-12-19 20:28:31 +04:00
Razharas
358a85eb3d Completed the transition to a new proc
All the logging i have found in the code was changed to use the
proc(maybe i missed something)
Killed all runtimes found so far
Proc now handles all the checks, no need to add checks in the body of
object
2013-12-17 22:56:04 +04:00
Razharas
5045069899 More logging and fingerprints
Added helper proc for general logging, replaced some logging with this
proc
Pulling now leaves fingerprints
Judging by the opinions in the thread will add some more
logging/fingerprints
2013-12-15 05:23:50 +04:00
Aranclanos
1ee59747c4 Merge pull request #1940 from YotaXP/HTML-Entities-and-Timestamps
NTSL, parrots, and ID consoles hate apostrophes less.
2013-12-10 04:53:09 -08:00
Aranclanos
124e1b7019 Merge pull request #1881 from AndroidSFV/checkmobfacingproc
Compare mob facing helper proc [Review and discuss before merge]
2013-12-08 01:06:30 -08:00
AndroidSFV
14e26a64a2 Removed the pAI check. Dont entirely agree with it, but I am a team player~ 2013-12-07 13:41:02 -06:00
YotaXP
91d7150eed NTSL, parrots, and ID consoles hate apostrophes less.
NTSL's timestamp() will fetch the proper station time.

ID consoles enforce standard player name restrictions on the ID name and assignment.
2013-11-30 14:33:02 -05:00
Aranclanos
c22b644441 Merge pull request #1875 from Giacom/issue_1874
Fixes #1874
2013-11-24 22:46:28 -08:00
AndroidSFV
b72396ad31 Mr.Person is right. Kinda embarrassing to be honest. 2013-11-24 09:21:42 -06:00
AndroidSFV
81f49385d7 Incorporated Razharas' feedback 2013-11-23 21:55:35 -06:00
AndroidSFV
e6c7ae57a4 Creates a new helper proc that can be used to compare how two mobs are facing in relation to each other 2013-11-23 19:18:23 -06:00
Cheridan
59d1400b32 Merge pull request #1850 from Aranclanos/StationName
Station name roundstart runtime
2013-11-23 12:28:26 -08:00
Giacomand
393a8f1b17 Fixes #1874 2013-11-23 16:33:00 +00:00
Aranclanos
1504ab64bb Observing before the round stops loading won't generate runtimes anymore by ghosts making querys for the station's name.
The station name will wait warmly and finally be created properly by the master controller.
2013-11-22 01:33:28 -03:00
Krypt0n
8dcac294ba Removes '*' as a first character for Ionlaws 2013-11-21 22:47:20 +01:00
Giacomand
1ee41eb995 * Added sound effects for charging and teleporting.
* Cleaned up the UI so it doesn't move around.
 * You can now enter -90 into the bearing to get 270.
2013-11-09 21:56:10 +00:00
Giacomand
f7e662e883 Merge branch 'master' of https://github.com/tgstation/-tg-station into tele_sci_change
Resolved Conflicts:
	code/__HELPERS/game.dm
2013-11-09 18:43:55 +00:00
Aranclanos
6177c28bbe Merge pull request #1687 from Giacom/alien_candidate
When the game tries to find players for roles it will now prioritize players who are the least afk
2013-11-09 10:18:44 -08:00
Giacomand
fbd79a6c02 Initial commit for telescience which uses projectile trajectory to obtain a destination coordinate. 2013-11-09 13:02:15 +00:00
Giacomand
8557cb22df When the game tries to find players for roles it will now prioritize players who are the least afk.
For example, it will try to find players that are afk for 5 minutes or lower, if it fails it'll add a minute to the 5 minutes until it finds a candidate or until it reaches 10 minutes.

I changed the get_candidate for aliens so that their 5 minute bracket is instead 45 seconds. This is because a lot of the time larva need to be active ASAP to avoid danger (such as being spawned in dangerous areas) There was a cases of an AFK larva that was very easily killed of, making it fraustrating for the observers watching.
2013-11-01 18:29:49 +00:00
Giacomand
a5aca96dcc * Adds the active players for when you are getting the server status.
* Removed the unused player number followed by player name.
2013-10-29 20:48:56 +00:00
Giacom
8c2aa41b19 Merge pull request #1634 from SuperSayu/defines
Moved #defines
2013-10-25 04:09:30 -07:00
supersayu
711654c15e Moved #defines
Moves the constants from defines and compile_options files into the __DEFINES directory.  The compile options in the latter file that are actually tweakable remain in their existing file in the code directory.
Constants from DEFINES.dm, globals.dm, names.dm, and global_lists.dm have been moved into the _globalvars subdirectory.
stylesheet.dm has been moved into the interface directory since that's a better place for it.

This move contains no code changes for stock TG.  It is purely an organizational move meant to clean up hard to read code.
Some global constants that appear to be unused have been put into unused.dm, but not unticked.  This list is by no means exhaustive.

Branches should be aware that they need to move any additional defines and global constants manually.
2013-10-23 16:11:45 -04:00
Aranclanos
e79a7fbf8f Removes the turf from the air controller when any shuttles moves. They are added back afterwards. This will avoid having walls on the active turf list who runtime to hell.
Basically, it removes all the turfs from both sides (where the shuttle was and where it docks) and then tries to add them back normally.
2013-10-22 03:05:44 -03:00
Giacomand
ade13452da * Added revision dates to getrev.dm
* By converting the unix timestamp of the git log, I was able to get the date of the revision.
 * It uses the new unix2date, which figures out the date, since you can't convert unix time to byond time through byond.
2013-10-17 18:44:35 +01:00
Cheridan
9c462d1b3a Merge pull request #1457 from fleure/clownshoes
Fixes target names not being updated on change, reduces some duplicated ...
2013-09-29 11:16:08 -07:00
Fleure
0e5bd024f4 Modified real name update check slightly 2013-09-27 20:58:45 +01:00
Fleure
1cd02ac34c Fixes target names not being updated on change, reduces some duplicated code 2013-09-26 20:16:00 +01:00
Malkevin
8f08a2e13f Updated the proc to allow it function on objects other than the target.
Changed PDAs to use the proc
2013-09-24 00:27:43 +01:00
Malkevin
08a8884b0c Merge branch 'master' of https://github.com/tgstation/-tg-station into radcollectors 2013-09-23 22:45:28 +01:00
Cheridan
5c2b2865e0 Merge pull request #1410 from Petethegoat/fixes
Issue fixes
2013-09-21 10:10:09 -07:00
Pete Goodfellow
bbe26823b1 Merge branch 'femoutfits' of github.com:Incoming5643/-tg-station into unifroms
Conflicts:
	code/modules/mob/living/carbon/human/update_icons.dm
2013-09-21 14:33:08 +01:00
Malkevin
ce0828c600 Radiation Collector analyzing
Checking a collector's last power output via analyzers has been moved to multitools, because that actually made sense (betcha didn't know this existed, I know I didn't)

Analyzers can now be used to check the gas level of the tank in a loaded radiation collector (yay no more crowbars)
You can also use them on pipes to check gas levels (yay no more pipe meters)

Codewise, the several inconsistant instances of the analyzer code have been moved to a single proc. The following have been converted to use this:
-Pipes (they didn't have this before. Also changed the attackby code to be less dumb...)
-Pipe tanks (you know those big ones in maint everyone forgets about)
-Portable Atmospherics (canisters, air pumps, scrubbers)
-Flamethrower
-Tanks
-And now collectors
2013-09-19 22:15:11 +01:00
Pete Goodfellow
26088805b8 Fixes #121. 2013-09-19 15:54:02 +01:00
Incoming
952b946eff Aesthetic changes to the code to help unmuddy update_icons.dm a bit:
female_uniform_icons is now defined in global_lists.dm
A generate_uniform proc has been made in clothing.dm to handle icon generation
2013-09-18 15:12:24 -04:00
Cheridan
7d117587ad Revert "Merge pull request #689 from dumpdavidson/changeling_voices_squash"
This reverts commit 6206285633, reversing
changes made to 83a6ebfc95.
2013-09-06 22:00:11 -05:00
Ricotez
6206285633 Merge pull request #689 from dumpdavidson/changeling_voices_squash
Changeling personal hivemind
2013-09-06 15:36:41 -07:00
Cheridan
1ee6c4f5c7 Merge pull request #1166 from Carn/admin_ranks
Fixes #1147 (type-mismatch) +features
2013-08-28 11:57:21 -07:00
Cael Aislinn
3b303325b8 Merge pull request #1209 from Carn/Ian
Fixes #1208 - there was a return instead of a continue
2013-08-23 06:55:27 -07:00
carnie
f33c09b0c5 Fixes #1208 - there was a return instead of a continue
Corgis now get a love-heart float above their head and yap happily when you pet them (only visible to the person petting them).
2013-08-22 11:37:04 +01:00
dumpdavidson
4deebff554 Merge branch 'master' of https://github.com/tgstation/-tg-station into changeling_voices_squash
Conflicts:
	code/game/gamemodes/changeling/changeling.dm
	code/game/gamemodes/changeling/changeling_powers.dm
	code/game/gamemodes/changeling/modularchangling.dm
2013-08-21 23:21:26 +02:00
Cheridan
bfeef72660 Merge pull request #1102 from Aranclanos/Linda
Linda.
2013-08-18 15:27:23 -07:00