Commit Graph

3069 Commits

Author SHA1 Message Date
Cheridan 1cbc9dbee0 Merge branch 'Cult' of https://github.com/Cheridan/-tg-station 2013-08-15 12:33:30 -05:00
Cheridan 296b90c34c Narnar loves you 2013-08-14 20:18:56 -05:00
Giacomand 1a19dd6142 Merge pull request #1114 from Carn/data_records
Helper proc /proc/find_record(field, value, list/L)
2013-08-14 16:35:04 -07:00
Giacomand fce7df7bd9 Merge pull request #1108 from VistaPOWA/tcomms
Added lowercase boolean variables to Telecomms
2013-08-12 13:24:01 -07:00
carnie 19fef02083 Fixes "samename (as samename)" when speaking. 2013-08-11 22:21:52 +01:00
Carnie a6f641a722 Merge pull request #1098 from Giacomand/sleepertoxin
* Properly renamed Soporific to Sleep Toxins, because that is what it is...
2013-08-11 05:47:51 -07:00
carnie ffa9bb51cd Helper proc /proc/find_record(field, value, list/L)
It will search list/L for a /datum/data/record with fields[field] == value, and return it.

This removes a vast amount of copypasta (there's still so much left in there though). It also removes all the locate(\ref[record]) I could find, which were normal used with topic(), meaning it was susceptible to abuse.

Secbots, ed209s and turrets are now smarter with their record-checks. They now prefer to use our face-name rather than id-name. ICly, this is the bot using facial recognition. This fixes an issue where it'd try to use the name variable which could be in the format "Unknown (as their id name)" when they were disfigured, etc. causing record-lookup to fail.

Additionally, these bots will treat those without a valid record in the security database, to be treated like criminals.
2013-08-11 12:49:55 +01:00
Carnie 48cdc61bcf Merge pull request #1095 from Giacomand/ion_fix
Ion Law Announcement Fix
2013-08-10 23:35:12 -07:00
VistaPOWA b771010e42 Added lowercase boolean variables to Telecomms
Confirming to playerbase, many existing scripts use them without
realizing they do not work properly.
2013-08-11 05:03:57 +02:00
Cheridan 642194d4f3 Merge pull request #1082 from errorage/2013-08-07_clear_clients_from_lobby_at_round_end
Disconnects clients who have not joined the round before restarting
2013-08-09 13:31:13 -07:00
Giacomand eb9c372cbe * Properly renamed Soporific to Sleep Toxins, because that is what it is and it confused people who would make their patients sleep because they think it's medicine.
* Removed the actual Soporific because it was unused, non-makable and pretty useless.
2013-08-09 20:20:04 +01:00
Giacomand e1c90fe69a * Added a variable to ion storms which sets the chance of the event being announced.
* Forgot to mention that the last commit Fixes Issue #418
2013-08-09 01:50:06 +01:00
Giacomand 8d1e51dfda * Fixes the ion law verbs announcing twice or announcing when you didn't want it to.
* Cleaned up some code with it.
 * Small tweak to the job preference window size.
2013-08-09 01:45:14 +01:00
Giacomand ef5f2f4b1d Merge pull request #1077 from Carn/misc
Misc
2013-08-08 11:37:38 -07:00
Matevž Baloh 8c61fbbeea Merge pull request #1073 from Giacomand/ntsl_crash_fix
NTSL Crash Fix
2013-08-07 09:19:36 -07:00
errorage c32f56e750 - When clients in the lobby are kicked at round end, only afk clients actually get kicked.
- The admins now have the ability to kick all or just afk clients from the lobby
- When admins use this action, a list of kicked clients is sent to admins and into the log.
- Added a confirmation message to the admin command.
2013-08-07 18:09:38 +02:00
carnie ada01c7e5f Reverting some accidental changes.
Medical consoles emp_act uses random_blood_type() random_name() etc, rather than hardcoded pick/rand.
2013-08-07 16:44:17 +01:00
Matevž Baloh c98bb429e1 Merge pull request #1064 from Giacomand/debug_instances
Added a debug verb for counting non-turf instances during rounds.
2013-08-06 18:19:57 -07:00
errorage 134ba32236 - In an effort to decrease the number of unneeded client connections, I've made it so when the round ends, all the clients who are in the lobby get kicked before the restart. This is only effective when rounds end 'organically' (not when restart commands or votes are used, for example). The intention is to prevent people from leaving their computers on and connected indefinitely, because all clients contribute to the total. The assumption is that if you are in the lobby when the round ends, you have not participated in the previous round, meaning you are probably not actually present.
- Also added a button to the player panel, which allows admins to do the same thing. The admin's name is reported to all the kicked clients.
2013-08-07 03:15:44 +02:00
Giacomand 2b0ed74f55 * Removed the ability to use functions inside parameters, to prevent recursion crashes.
* Added an error message for it.
 * Added some other crash preventing measures.
2013-08-06 21:39:21 +01:00
carnie 3317aa9fe3 Merge branch 'master' of github.com:tgstation/-tg-station into FUTURE_DNA_2
Conflicts:
	code/game/dna.dm  <-- leave this shit alone unless it's a small-tidy change. ffs.
2013-08-06 09:54:24 +01:00
Giacomand 53244202be * Fixes the NTSL crashing the server by setting the max recursion limit to 15. The problem was that the BYOND recursion limit was being met before the NTSL recursion limit.
* Added admin warning messages for the recursion limit.
 * Made the admin warnings only appear for every new program that is loaded, and not for everytime the script runs.
 * Made the preset servers set their names to their ID.
2013-08-06 01:49:00 +01:00
Matevž Baloh 4ce9bb13a1 Merge pull request #1058 from KazeEspada/poison
Makes alchohol poisonous,.
2013-08-05 09:20:23 -07:00
Aranclanos 1837271bdb Merge pull request #1067 from Giacomand/ntsl_possible
* Changed NTSL max statements to 900. It was possible that it reached the 1000...
2013-08-05 09:02:00 -07:00
Giacomand da2adeb755 * Changed max statements to 900. It was possible that it reached the 1000 limit before checking if there were too many statements.
* Minor tweak to the length() proc.
2013-08-05 02:32:28 +01:00
Giacomand d6545c57b7 Merge branch 'newaiupload' of https://github.com/MrPerson/-tg-station into newaiupload 2013-08-05 01:29:51 +01:00
Giacomand 13d76e6da2 * Added a debug verb for counting non-turf instances during rounds.
* Added a category to the kaboom verb.
2013-08-04 21:42:36 +01:00
Cheridan b0480cfcd2 Merge pull request #1047 from Giacomand/exploit_paper
Paperworks Topic Exploit Patch
2013-08-03 10:04:03 -07:00
Cheridan e6589c584e Merge pull request #1053 from Giacomand/musician_fix
Runtime fixes.
2013-08-03 10:03:45 -07:00
Cheridan 753dee4fe7 Merge pull request #1052 from Faerdan/master
UI Updates
2013-08-03 10:02:43 -07:00
KazeEspada 70ccad2de9 Makes alchohol poisonous, 250 units of ethanol is lethal, kills very very slowly. Makes ethanol more potent. Gives Thirteen Loko an actually recipe. 2013-08-02 18:40:42 -07:00
Giacomand ce30071077 Runtime fixes.
runtime error: Cannot execute null.on reagent change().
proc name: del reagent (/datum/reagents/proc/del_reagent)
  source file: Chemistry-Holder.dm,308
  usr: null
  src: /datum/reagents (/datum/reagents)
  call stack:
/datum/reagents (/datum/reagents): del reagent("pacid")
/datum/reagents (/datum/reagents): clear reagents()
Chemsmoke (/datum/chemical_reaction/chemsmoke): on reaction(/datum/reagents (/datum/reagents), null)

runtime error: Division by zero
proc name: Topic (/datum/song/Topic)
  source file: musician.dm,193
  usr: Tico-Tico Tambien (/mob/living/carbon/human)
  src: Untitled (/datum/song)
  call stack:
Untitled (/datum/song): Topic("src=\[0x210054cd];import=1", /list (/list))
2013-08-02 00:28:08 +01:00
Mark Aherne (Faerdan) 63d2104c80 Merge branch 'master' of https://github.com/tgstation/-tg-station 2013-08-01 18:10:26 +01:00
Mark Aherne (Faerdan) dacd5da81a Choose Profession
- Updated to new UI
- Put professions into columns to reduce the length of the window

Supply Ordering Console
- Updated to new UI
- Added "Main Menu" button to the top of all lists

Security Records Console
- Fixed colors (eyes should bleed less now)

Voting Panel
- Updated to new UI

Newscaster Unit
- Updated to new UI

DNA Modifier Console
- Overhauled UI to make it (slightly) more accessible

Airlock Control Console
- Fixed UI not updating automatically
- Updated to new UI
- Overhauled UI
2013-08-01 18:09:58 +01:00
MrPerson 0a5c394b90 Merge branch 'master' of https://github.com/tgstation/-tg-station into aiupload 2013-08-01 09:40:20 -07:00
MrPerson 6c65999c91 Major refactor of AI upload modules to not be dependent on the upload computers.
Modules can just run install(target,user) and everything will work fine.
Upload computers cleaned up quite heavily. Less copy+paste. Removed that pointless "Open access panel" verb they had.
Law changing procs moved from mob/living/silicon/robot and mob/living/silicon/ai to mob/living/silicon. This means clear_inherent_laws(), add_inherent_law(), etc. This is what the new file is for. Doesn't change anything since they both had exact copies of the same procs.

NOTE: This commit doesn't change the maps, so don't checkout to this without the next one.
2013-08-01 09:34:40 -07:00
carnie e7b586a095 Replaced organ helper procs with a single more versatile and strealined one. 2013-08-01 14:42:32 +01:00
carnie 02be173c60 Renamed variables:
b_type to blood_type
h_color to hair_color
f_color to facial_hair_color
f_style to facial_hair_style
h_style to hair_style
2013-08-01 13:48:41 +01:00
Giacomand 4a8e492d59 * Added the atmos hardsuit to the map.
* Removed the rad protection from the atmos hardsuit.
2013-08-01 00:03:30 +01:00
Matevž Baloh 56a7639523 Merge pull request #1045 from Ricotez/master
Added an Atmospherics Hardsuit.
2013-07-31 14:22:39 -07:00
Ricotez 651166d96e -Added in-hand sprites for the atmospherics hardsuit.
-Dropped the radiation protection of the atmospherics hardsuit from 75, what engineering hardsuits have, to 50, what all other hardsuits have (except for CE).
-Added fire protection to the atmospherics hardsuit (equal to that of the CE and firesuits).
2013-07-31 18:11:09 +02:00
Giacomand 3e8369d95d * Adds checks in the paperwork module topics. Fixing the exploit that would allow you to teleport anything. 2013-07-31 15:41:27 +01:00
Ricotez 6576faa361 Added an Atmospherics Hardsuit.
-Added sprites for the hardsuit to the right files.
-Added code in rig.dm for the Atmospheric Hardsuit.

The stats of the Atmospherics Hardsuit are equal to those of the Engineering Hardsuit, so the differences are purely cosmetic in nature. It lets mappers distinguish between hardsuits assigned to Engineering and Atmospherics.
2013-07-30 15:53:59 +02:00
Jordie0608 28ea16e498 Merge pull request #2 from tgstation/master
This had better work...
2013-07-30 06:02:28 -07:00
Cheridan bb53084249 Merge pull request #997 from Malkevin/reflectivejugs
Construct buffs.
2013-07-27 20:42:46 -07:00
Cheridan d48bb5d278 Merge pull request #1029 from Aranclanos/CheckCompletitionRuntime
Runtime fix for ninja steal objective.
2013-07-27 20:39:45 -07:00
Intigracy 293fc7ce6c Removed the check in jobbans that prevented admins from banning each other. Everything is already logged up the yinyang, admins are able to regular ban themselves, even perma, and sometimes an admin NEEDS to be jobbanned for something. 2013-07-27 03:30:33 -07:00
Cheridan a77d09131b Merge pull request #1023 from errorage/2013-07-25-adminhelps-to-irc
Admins without +BAN no longer stop adminhelp relaying to IRC.
2013-07-26 14:41:17 -07:00
errorage 23703d19ed Slight edit to the output format, it now writes AFK/TOTAL and IGNORED/TOTAL as an ignored admin might also be afk, so he'd be counted twice. 2013-07-26 23:03:44 +02:00
Matevž Baloh 3684fa1677 Merge pull request #1019 from Aranclanos/RuntimeThrows
throw_item() small cleanup.
2013-07-26 11:12:42 -07:00