Commit Graph

560 Commits

Author SHA1 Message Date
Deantwo 0e8156814f Font Define'ers Renamed
- Renamed font define'ers.
- Removed font duplicate define'ers.
2015-01-24 17:32:17 +01:00
Deantwo bfea67611e Pencode Changes Cleanup
- Moved the "parsepencode" proc from **newscaster.dm** and **PDA.dm** to
**text.dm** as a global proc.
- Made the "parsepencode" proc accept only a single agrument if desired.
- Removed the font constants from **newscaster.dm**, **PDA.dm**,
**paper.dm**, **paperbin.dm**, and **photocopier.dm**.
- Replaced aforementioned constants with define'ers in **misc.dm**.
2015-01-24 16:07:13 +01:00
Swag McYolosteinen af15be9bee Merge pull request #7287 from Deantwo/PencodePdaNotekeeper
PDA Notekeeper 2.2
2015-01-24 14:15:27 +01:00
tkdrg cb55d4533d Merge pull request #7179 from Firecage/Violin_hit
Adds sound effect to hitting with violin.
2015-01-23 22:15:13 -03:00
Deantwo 1653ca900d Space Ups
I shouldn't have removed that space. Sorry space.

Oh and I jsut proved [xkcd 1296](http://xkcd.com/1296/).
2015-01-23 18:34:29 +01:00
Deantwo dc17f211f3 Version Numbers Update
- Incremented the messager's version number.
- Added a version number to NTRC.
- Removed "SS13" from NTRC's title.
2015-01-23 18:23:57 +01:00
Deantwo 2739dc0eb3 Scanned Image Warning
- Added a little warning so the user knows that some of the text
formatting will change when edited.
2015-01-23 17:20:54 +01:00
Deantwo b7a612b90f NTRC Fixes
PDA.dm:
- Set Nick maximum length was 7 when you started with a 8 character
nick. Input maximum length changed to 8 (9).
- Set Nick and Set Channel 's input are not trimmed.
- Set Channel now has it's input's spaces (" ") replaced with
underscores ("_") after trimming.
- Minor changes to NTRC Help.

chatroom.dm:
- All messages that begin with a "/" are now considered commands.
Feedback is given when a bad command is entered.
- Commands now take a fixed number of agruments. Feedback is given when
bad command agruments are entered.
- Added checks to prevent channel names like  "#".
2015-01-23 15:50:48 +01:00
Deantwo 396ff5c800 PDA Notekeeper 2.2
Notekeeper:
- Now uses [PenCode](https://tgstation13.org/wiki/Paper_BBCode) rather
than HTML.
- Now uses the same font as paper. Meaning that signature has a
different font, same as paper.
- Editing the notes now uses **stripped_multiline_input** proc.
- Cancelling the input box no longer deletes all the notes.
- Added a horizontal rule between the Edit button and notes section.
- Incremented the Notekeepers version number by 0.1 because of this new
notekeeper update.
- Scanning paper with your PDA now saves most of the content to the var
that is shown as default text in the edit input box.
- Scanning paper now states that it is saved to the notekeeper.
- Can no longer scan blank paper. User is notificed of this.

NTRC Chatroom:
- Set Nick now does not allow "" as a name, and cancelling the input box
doesn't delete the nick.
- Set Channel now has a length limit of 15 rather than 255.
- Message now does not send "" messages, and cancelling the input box
doesn't send a message.
- Added a horizontal rule between the buttons and notes section.

Other:
- Changed the **msg_input** proc to use **stripped_input**.
2015-01-22 23:15:08 +01:00
Nienhaus 3733c4ff48 Merge pull request #7230 from paprka/painigga
Adds walterje's pais
2015-01-21 19:51:19 -06:00
tkdrg 11f3717771 Merge pull request #7162 from Firecage/monkey_dexterity_message
Gives the monkey dexterity message to some stuff.
2015-01-21 15:35:29 -03:00
Firecage a93a1dfe36 usr -> user in monkey dexterity. 2015-01-21 19:57:48 +02:00
paprka 25a54a7466 adds walterje's pais 2015-01-20 14:31:17 -08:00
phil235 f4ed29551b Merge pull request #7204 from Deantwo/NoCommentPDA
Blank PDA Messages Fix
2015-01-20 21:21:18 +01:00
tkdrg a9160e52dc Merge pull request #7105 from Carn/#6993
Resolves #6993 - Moved pai controller into a subsystem.
2015-01-19 20:17:14 -03:00
Deantwo 2a78daa8b5 Blank PDA Messages Fix
- Added "if (!t) return" after msg_input is called. So no blank
messages.
2015-01-19 20:10:21 +01:00
Firecage 6d688565b4 Adds sound effect to hitting with violin. 2015-01-19 03:20:51 +02:00
Firecage 950bc17c23 Gives the monkey dexterity message to some stuff. 2015-01-18 11:48:53 +02:00
Iamgoofball bc9d48fa42 Mutadone and Mannitol, tweaks and changes. 2015-01-16 19:28:13 -08:00
Iamgoofball 38070820f3 Merge branch 'master' of https://github.com/tgstation/-tg-station into goonchem_shoehorn_backup 2015-01-16 17:25:50 -08:00
Iamgoofball f3398e58a9 Removes Star Trek chemistry and transfers us to Goon Chemistry. 2015-01-16 17:21:36 -08:00
carnie a44795a699 Resolves #6993 - Moved pai controller into a subsystem. 2015-01-15 23:50:46 +00:00
phil235 884e2a6f73 Fixes some runtimes from audible_message proc. Fixes silent PDAs calling audible message when receiving a message. 2015-01-14 18:00:17 +01:00
tkdrg 379b7b83fc Fixes a missed variable 2015-01-11 20:00:41 -03:00
tkdrg b852aa41ea Replaces a bunch of input() with stripped_input()
Some of these were exploitable for XSS, as well.
2015-01-11 19:02:53 -03:00
Swag McYolosteinen cd3e08f624 Merge pull request #6942 from lolnon/transfer_valve_kek
Fixes some functional but kekworthy code in transfer_valve.dm
2015-01-11 12:22:32 +01:00
lolnon fd6dc4f9f9 Fixes some functional but kekworthy code in transfer_valve.dm 2015-01-10 09:01:59 +00:00
Remie Richards 005d79073a Merge pull request #6731 from tkdrg/ntrc_strikes_back
Adds an "unread message count" to the NTRC link
2015-01-06 07:22:45 +00:00
Remie Richards b798df68ab Merge pull request #6790 from tkdrg/ExhaustedPlumpCamel
Fixes a few RPD painting bugs
2015-01-06 07:20:28 +00:00
tkdrg 2eb366de89 Fixes a few RPD painting bugs
Changes RPD colors to be consistent with pipe painter & default pipes.
Makes the RPD properly update its neighbors on painting.
Offloads the neighbor updating logic from pipe_painter to a pipe proc.
Fixes #6783
2015-01-04 04:35:36 -03:00
carnie a3f5e7ebfd Merge branch 'master' of https://github.com/tgstation/-tg-station into SubSystems
Conflicts:
	code/game/gamemodes/setupgame.dm
	code/modules/mob/living/carbon/human/life.dm
	code/modules/reagents/Chemistry-Machinery.dm
2015-01-04 01:52:14 +00:00
tkdrg 56a1d11162 Adds an "unread message count" to the NTRC link
Fixes #6720
2015-01-01 13:54:52 -03:00
tkdrg cdb5066502 Merge pull request #6324 from Razharas/GenShit
Added datum mutations
2014-12-31 17:24:15 -03:00
carnie e7519a33c8 Merge branch 'master' of https://github.com/tgstation/-tg-station into SubSystems 2014-12-31 20:22:32 +00:00
phil235 e476074b32 Merge pull request #6673 from GunHog/FixForTatorAIRadioAndRemovesSpice
Fixes #6654
2014-12-31 15:41:17 +01:00
phil235 3ce15f31b0 Merge pull request #6672 from Menshin/flash_emp_runtime_fix
Fixes flashes runtiming on EMP + flash spamming
2014-12-31 15:33:20 +01:00
carnie a029a49392 SubSystem rewrite
Misc:

+Fixes unreported issue with initializing lighting on a specific zlevel

+Fixes two similar issues with moveElement and moveRange. Where fromIndex or toIndex could be adjusted incorrectly in certain conditions. Potentially causing bad-sorts, or out of bound errors.

+Rewrites listclearnulls(list/L) to no longer iterate through L.len elements for every null in the list (plus 1). i.e. went from L.len*(number_of_nulls+1) list-element reads (best-case), to L.len list-element reads (worst-case)

+New proc/getElementByVar(list/L, varname, value) which finds the first datum in a list, with a variable named varname, which equals value. You can also feed it atoms instead of lists due to the way the in operator functions.

+Fixes an unreported issue with Yota's list2text rewrite. Under certain conditions, the first element would not be converted into a string. Causing type-mismatch runtimes.

+New global map_ready variable. This is not fully implemented yet, but will be used to avoid duplicate calls to initialize() for map objects.

+All turfs now maintain references to all lights currently illuminating them. This will mean higher memory use unfortunately, due to the huge number of turfs. However, it will speed up updateAffectingLights significantly. I've used list husbandry to reduce baseline memory usage, so it shouldn't be any worse than some past atmos modifications memory-wise.

-Removed 'quadratic lighting', can add this back at some point. Sorry.

+modified the way lum() works slightly, to allow turfs to have overridden delta-lumen. i.e. space cannot be illuminated more than its default ambiance. This allowed removal of some iffy special-snowflake lighting areas implemented by somebody else.

+Lighting images in the dmi can now use arbitrary naming schemes. It is reliant on order now. This allows the dmi to be replaced by simply dropping in a new dmi.

-Removed all subtypes of /area/shuttle. Shuttles now create duplicate 'rooms' of /area/shuttle. (More on this later). This will conflict with most maps. Guide on how to fix to follow.

+All verbs/tools relating to world.tick_lag were refactored to use world.fps. However old config text for setting tick_lag will still work (it converts the value to fps for you)

+MC stats improved using smoothing. They now have their own tab so they dont get in the way when you're playing as an admin.

-removed the push_mob_back stuff due to conflicting changes. Sorry Giacom.

_OK, NOW THE ACTUAL INTERESTING STUFF_

Following systems moved over to subsystem datums:
air_master
garbage_manager
lighting_controller
process_mobs (aka Life())
nanomanager
power
sun
pipenets
AFK kick loops
shuttle_controller (aka emergency shuttle/pods), supply_shuttle and other shuttles
voting
bots
radio
diseases
events
jobs
objects
ticker

Subsystems hooks and variables should be commented fairly in-depth. If anything isn't particularly clear, please make an issue.

Many system-specific global variables have been refactored into

All tickers which previously used world.timeofday now use world.time

some subsystems can iterate before round start. this resolves the issue with votes not working pregame
2014-12-31 13:25:41 +00:00
Menshin 34cee3f088 Renamed confusing variable 2014-12-31 13:51:39 +01:00
tkdrg 829ba09986 Merge pull request #6244 from Ergovisavi/halp_medics_griffon_me
Adds Medical Hologram functionality to Medical Penlight
2014-12-30 20:52:46 -03:00
Menshin 168b98840f Fixes flashes runtiming on emp_act()
Fixes flash messages spam (#6631)

Some code cleaning
2014-12-30 10:50:43 +01:00
Ergovisavi f3251c7224 Adds a Medical Hologram functionality to the medical penlight 2014-12-29 21:44:44 -08:00
GunHog 4f3d955ca1 Fixes #6654
Sets the AI's encryption key to slot 2 so it is not lost upon the AI
being traitorized.
Fixes #6654 by reverting the change in #6399 to the AI's key.
2014-12-29 19:55:01 -06:00
Razharas 76a21883a8 Merge branch 'master' of https://github.com/tgstation/-tg-station into GenShit
Conflicts:
	code/game/mecha/mecha.dm
	code/game/objects/structures/tables_racks.dm
	code/modules/mob/living/silicon/silicon.dm
	code/modules/projectiles/gun.dm

Fixes dem conflicts
2014-12-28 11:20:15 +03:00
Razharas 208b59c30e Fixed stuff tkdrg pointed out
Added comment to dualsaber and hulk checks to explain whats going on
Added defines that converts to mutation names
Fixed grammer again
2014-12-28 10:49:04 +03:00
tkdrg 0b4261e016 Merge pull request #6355 from AnturK/librarian_pda
Adds Librarian PDA cartridge
2014-12-27 01:44:49 -03:00
Remie Richards 1f288f56ae Merge pull request #6290 from Xhuis/porta_console
Handheld crew monitor
2014-12-27 01:43:42 +00:00
Cheridan 12ad2b796d Merge pull request #6541 from phil235/GrenadeAssemblyConstructionFailMsgFix
Assembly holder no longer needs to be secured.
2014-12-25 16:16:00 -06:00
phil235 8ab92e753a Assembly holder is no longer secured or unsecured. Screwdrive now disassemble it and attack_self to interact with its parts.
Adding feedback message when trying to attach two assemblies that aren't both in attach mode.
Fix hacky code to prime grenade by pulsing its assembly.
Removing some commented code and some duplicated proc instances.
Fixing a typo.
2014-12-24 01:50:19 +01:00
Razharas 1b45752b05 Fixed conflicts
Ye again and again and again and again
Do it again, do it again~
2014-12-23 05:39:39 +03:00
Razharas 92fc9b5d1b And some more little fixes
Return of the prob to foam smashing
Correct laserpointer check
Correct wield behaviour with hulk
2014-12-23 05:22:20 +03:00