Commit Graph

5039 Commits

Author SHA1 Message Date
Erthilo ce019d526d TG: Fixed r500 (faces displaying above glasses and such) Cause: face layer was set
to MOB_LAYER.
Fixed r501 (underwear not showing) Cause: bad indentation

A possible fix for some very odd bugs caused by restarting the MC related to the
usr variable being passed into the MC. *shrug* Very hard to test.

Removed the need for the world to be in Debug2 mode to edit ticklag as the verb
is hidden behind another proc now anyway, and it's become more of an annoyance
than a thing to stop people accidentally clicking it.
Revision: r3695
Author: 	 elly1...@rocketmail.com
2012-06-03 14:15:27 +01:00
Erthilo c3c5304397 Various fixes for bans and mutations. 2012-06-03 03:40:26 +01:00
Erthilo 86feaac9c2 TG: Ban moved into IsBanned so that people whom are banned can actually see -why-
they are banned. Another perk of using IsBanned and not client/New() is that we
now disconnect potential clients before they are given a client object and start
downloading any resources...which is like a 30Mb saving per failed login (after
each server update).

Tidied up the Login and Logout procs for mobs. Moved the sandbox buildmode stuff
to mob/living/login.dm so you shouldn't have to log-out and back in to enable
build mode.

Removed the logged_in variable for mobs as it was the most pointless thing ever.

Made the multikeying checks a separate proc. People are checked the second they
get a new_player mob. Its notices are also less spammy.

Changed AllowUpload from the default. It now restricts uploads of over 1Mb to
prevent admins uploading massive .Oggs and lagging the server to hell whilst it
sends the ogg to 40+ players. Feel free to change the limit.

Moved some of the core client procs into one folder; they should really be
together and not in /modules/mob/mob.dm and various other places. I will be
giving the client stuff a belated spring-clean over the next few commits, just
got to iron out some of the kinks.
Revision: r3694
Author: 	 elly1...@rocketmail.com
2012-06-03 01:09:26 +01:00
Erthilo 30e3132762 Change flavortext/records inputs so that they format corrently with new lines. They won't show up well on the actual computers, but if you click on them they will. 2012-06-02 23:32:23 +01:00
SkyMarshal 74360f7679 Merge pull request #1226 from Erthilo/TGUpdates
TG Updates r3683 to r3692
2012-06-02 14:34:24 -07:00
Erthilo 8268b3d824 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/game/objects/devices/scanners.dm
2012-06-02 22:12:07 +01:00
Erthilo 800574414e Flavor text and records fixes. They can be longer than 40 characters. 2012-06-02 22:09:00 +01:00
ericgfwong@hotmail.com dd77bd88ea Added Giacomand's UI tweak to Job Selection: http://nanotrasen.com/phpBB3/viewtopic.php?f=16&t=8879
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3726 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-02 19:48:51 +00:00
Erthilo ae316d58f8 Tweaked Moderators:
* They have their own channel msay, which all mods and admins can use.
* They cannot see or use asay, but they can see and respond to adminhelps and admin PM's.
* Their PM's will come up in maroon and show MOD PM.
* They have a moderator panel that shows name, ckey, IP and CID.
* They can use Set-Play, Set-Observe, Show-Skills, and can read and write Player Info.
* They can Deadmin themselves for the round.

Other Changes:

* Player info now shows the rank of who typed what.
* Admins are messages when player info is modified.
* Tweaks to prevent moderators using some commands.
2012-06-02 20:14:23 +01:00
Erthilo 36effbacc2 TG: There's a metric assload of stuff here, mostly in preparation to my massive
traitor expansion, so I'll try to be brief:

- I added in the foundations for traitor factions. See factions.dm for all the
different faction datums. They don't do anything yet.

- I completely ported mob/var/mutations from a bitfield to a generic list.
Mutation enumerated-identifiers are added into this list. For instance, TK = 1,
COLD_RESISTANCE = 2, XRAY = 3, etc... The purpose of this was because bitwise
operations could not actually be used after a certain size (because BYOND is
stuck in the 16bit era).

- I've added in completely-functional nano-augmentations. Check under
implantnanoaug.dm for a list of implants and implaners. As mentioned previously,
they are completely functional but may be slightly OP. Among these nanoaugs are
Super Strength, Psionic Radar, Electric Hands, Energy Blade/Sword Synthesizer,
Rebreather, Dermal Armor, Combat Reflexes, and Regenerative Nanorobots. I won't
go into detail as to what they do, but hopefully they should be self-
explanitory. If not, check out their descriptions in the file previously
mentioned.

- Added in a future traitor item, the Mind Batterer. Along with it a new .ogg
file.

- New telecomms bus mainframe sprite, thanks to WJohnston.

- New holdable shield, sprites courtesy of Muncher (i had to mangle the side
sprites because of a technical little issue. I'll change it back to the original
soon). It can be retracted and expanded. Probably only going to be given to
traitors.

- A couple of minor bugfixes here and there, along with some code tidying.

Hope this isn't too large a commit. I intended it to be MUCH larger, but I've
decided to split up my Traitor Factions expansion into smaller commits.
Revision: r3692
Author: 	 vageyenaman
2012-06-02 19:46:18 +01:00
Erthilo f90ec4b414 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates 2012-06-02 15:52:52 +01:00
Erthilo 1ece0d492f TG: -Adjusted balaclavas and added luchador masks. They replace the boxing gloves in
the fitness room.
-Tweaked fake moustache. It shouldn't work as internals, but it disguises your
identity.
-Fixed a couple flags for the sake of logic.
-Updated changelog.
Revision: r3691
Author: 	 d_h2...@yahoo.com
2012-06-02 15:46:40 +01:00
baloh.matevz 38dd256769 - You can now light your cigarette with an energy sword :)
- Fixed the problem where suits appeared on the UI even with the inventory closed. The call to other_update() in update_clothing() must be done after all the icon slots get updated.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3725 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-02 14:45:02 +00:00
Aryn f16c402dc0 Merge branch 'master' of git://github.com/Baystation12/Baystation12 2012-06-02 01:43:32 -06:00
Aryn e49070b572 Fixed HUD change bug. 2012-06-02 01:43:22 -06:00
elly1989@rocketmail.com 5ff9a92a26 Fix for getFlatIcon runtimes. I think when I changed DamageIcons from a list to a single image, I may have caused it. Basically, null was getting put in the overlays var at round start.
Fix for  view-vars refreshing.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3721 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-02 02:08:42 +00:00
Erthilo 11529c1c4a TG: Fixes a derp I made with the PA in a recent commit.
Rules verb moved to the interface to make it more visible (so new players may
actually -read- it occasionally).

Minor changes to investigate singulo based on feedback. Entries are now
timestamped and the "time \ref[src] (location)" bit is in a smaller font.
Collectors note how much fuel they are loaded with.
Revision: r3687
Author: 	 elly1...@rocketmail.com
2012-06-02 01:12:34 +01:00
joeheinemeyer@gmail.com e0d605c2eb Readded detective work, with much bugfixing and optimizations.
Any PDA that can access the Security Records can, via the forensic scanner function (that was already there) store data on what was scanned, the same way that the Detective's scanner can.
Scanning a PDA with said stored data in the Detective's computer-o-doom will transfer the data from the PDA to the computer's database.
Made some area names improper as needed (Only ones where it makes sense to be improper.)
Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3713 316c924e-a436-60f5-8080-3fe189b3f50e
2012-06-01 20:32:26 +00:00
Erthilo 05f3c29c5a Fixes AI's not being able to speak through holopads. 2012-06-01 20:17:32 +01:00
SkyMarshal f5a790a037 Merge pull request #1215 from Erthilo/master
Records System <3
2012-05-31 20:57:40 -07:00
SkyMarshal cb432489cb Merge pull request #1206 from Erthilo/TGUpdates
TG Update r3659 to r3681
2012-05-31 20:00:50 -07:00
Erthilo fe8192ed65 Records system. You can now set your characters Medical and Security records. Remember, these are official NanoTrasen records, and should be written as such. Admins can ban people from using records by selecting 'Records' from the jobban panel. 2012-06-01 03:20:50 +01:00
SkyMarshal 5370676e05 Some fixes for Erthilo 2012-05-31 18:40:05 -07:00
SkyMarshal beb63529f9 Made some better text procs for when a gender is ambiguous. Added a proc that will return the proper form of reference to the mob it is called on (mob.get_visible_gender()) which returns a list with the proper forms of reference in it. (In the form of a hashtable.) Also added the proc "get_gender_form("form")" Where it takes the given form and returns the proper one. E.g. on a non disguised man, it will take "it" and return "him". 2012-05-31 17:53:23 -07:00
Erthilo 88a60f95a2 Merge pull request #1213 from SkyMarshal/CoolTweaks
Several changes, any PDA with a security cartridge can be used to gather evidence to be put in the forensic scanning computer, removed a proc that should never have existed, moved the visible_message proc into the atom_procs file.
2012-05-31 16:10:39 -07:00
SkyMarshal b70673e0c8 Some comments, tweaks, and improvements to detective work, evidence bags, and packages. Removed a worthless proc, and moved a few proc definitions into better places. 2012-05-31 15:48:52 -07:00
Erthilo ebaa460892 Fixed cloning not working for burnt people. Also fixes some NOCLONE's that were missed. 2012-05-31 21:55:51 +01:00
CIB 0698fb759a Reduce health loss in crit. (For Erthilo) 2012-05-31 20:59:51 +03:00
Erthilo 621b5f8179 Fixes Tajaran appearance and reverts update_lying() for now. 2012-05-31 17:35:04 +01:00
Erthilo 8a69a6416c Fixed humans faces lying down when standing up. 2012-05-31 16:28:47 +01:00
Erthilo 8e72965077 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	code/game/objects/items/weapons/cigs_lighters.dm
	code/game/objects/items/weapons/grenades.dm
	code/game/objects/items/weapons/implants/implant.dm
	code/game/objects/radio/headset.dm
	code/game/objects/radio/radio.dm
	code/modules/assembly/assembly.dm
	code/modules/assembly/holder.dm
	code/modules/clothing/glasses.dm
	code/modules/mob/living/silicon/robot/robot_modules.dm
	code/modules/paperwork/paper.dm
	code/modules/research/circuitprinter.dm
	code/modules/research/protolathe.dm
	icons/mob/suit.dmi
2012-05-31 15:09:35 +01:00
elly1989@rocketmail.com 7685c4be25 Fix for Damage Icons. They now have a layer define too.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3705 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-31 10:53:43 +00:00
elly1989@rocketmail.com 1b1ddac33b Changed a bunch of constants to defines and made setup.dm all pretty and easy to read.
Defined some clothing-overlay layers. The defines are float-layers. So they will always appear above the mob they are overlaying. They can be found in setup.dm

This pretty much means you can change to order in which the icons are added to the overlays variable without fear of eyes appearing above glasses and such. So no more of these dumb bugs.
It also paves the way for selective clothing updates which should speed things up a fair bit.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3704 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-31 07:43:25 +00:00
Erthilo 3d3f49bea1 Fixes mutant races forever lying down. 2012-05-31 01:55:07 +01:00
SkyMarshal 770e09ce5d Merge pull request #1191 from Mloc/varfix
Huge commit!  Standardizes var definitions in most places.
2012-05-30 11:07:27 -07:00
Mloc 66f633edc0 Fixed some quirks with var standardization, fixed compile error #1190.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-05-30 12:07:13 +01:00
Aryn 354d023a4b Optimized HUD images. 2012-05-30 01:37:52 -06:00
Mloc fbb67b2e42 Huge commit! Standardizes var definitions in most places.
Signed-off-by: Mloc <colmohici@gmail.com>
2012-05-29 16:26:48 +01:00
Erthilo b409a84f2d Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	icons/mob/suit.dmi
	icons/obj/clothing/suits.dmi
2012-05-29 15:00:11 +01:00
cib 3a74270e29 Merge github.com:Baystation12/Baystation12
Conflicts:
	code/modules/mob/mob.dm
	code/modules/projectiles/projectile/change.dm
2012-05-29 13:43:20 +02:00
elly1989@rocketmail.com 40c2e25bde Fixed r500 (faces displaying above glasses and such) Cause: face layer was set to MOB_LAYER.
Fixed r501 (underwear not showing) Cause: bad indentation

A possible fix for some very odd bugs caused by restarting the MC related to the usr variable being passed into the MC. *shrug* Very hard to test.

Removed the need for the world to be in Debug2 mode to edit ticklag as the verb is hidden behind another proc now anyway, and it's become more of an annoyance than a thing to stop people accidentally clicking it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3695 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-29 11:36:39 +00:00
elly1989@rocketmail.com 1e476623d9 Ban moved into IsBanned so that people whom are banned can actually see -why- they are banned. Another perk of using IsBanned and not client/New() is that we now disconnect potential clients before they are given a client object and start downloading any resources...which is like a 30Mb saving per failed login (after each server update).
Tidied up the Login and Logout procs for mobs. Moved the sandbox buildmode stuff to mob/living/login.dm so you shouldn't have to log-out and back in to enable build mode.

Removed the logged_in variable for mobs as it was the most pointless thing ever.

Made the multikeying checks a separate proc. People are checked the second they get a new_player mob. Its notices are also less spammy.

Changed AllowUpload from the default. It now restricts uploads of over 1Mb to prevent admins uploading massive .Oggs and lagging the server to hell whilst it sends the ogg to 40+ players. Feel free to change the limit.

Moved some of the core client procs into one folder; they should really be together and not in /modules/mob/mob.dm and various other places. I will be giving the client stuff a belated spring-clean over the next few commits, just got to iron out some of the kinks.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3694 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-29 07:36:01 +00:00
Albert Iordache 604f7c417d Merge branch 'master' of https://github.com/Aryn/Baystation12 into Aryn-master
Conflicts:
	icons/mob/screen1_Midnight.dmi
	icons/mob/screen1_Orange.dmi
2012-05-29 08:50:58 +03:00
SkyMarshal 12392f74dd Merge pull request #1185 from Erthilo/master
HUD changes, medic spawn items, cow sprites, water bottles, Tajaran/Soghun fixes
2012-05-28 22:13:53 -07:00
vageyenaman@gmail.com 49647d329a There's a metric assload of stuff here, mostly in preparation to my massive traitor expansion, so I'll try to be brief:
- I added in the foundations for traitor factions. See factions.dm for all the different faction datums. They don't do anything yet.

- I completely ported mob/var/mutations from a bitfield to a generic list. Mutation enumerated-identifiers are added into this list. For instance, TK = 1, COLD_RESISTANCE = 2, XRAY = 3, etc... The purpose of this was because bitwise operations could not actually be used after a certain size (because BYOND is stuck in the 16bit era).

- I've added in completely-functional nano-augmentations. Check under implantnanoaug.dm for a list of implants and implaners. As mentioned previously, they are completely functional but may be slightly OP. Among these nanoaugs are Super Strength, Psionic Radar, Electric Hands, Energy Blade/Sword Synthesizer, Rebreather, Dermal Armor, Combat Reflexes, and Regenerative Nanorobots. I won't go into detail as to what they do, but hopefully they should be self-explanitory. If not, check out their descriptions in the file previously mentioned.

- Added in a future traitor item, the Mind Batterer. Along with it a new .ogg file.

- New telecomms bus mainframe sprite, thanks to WJohnston.

- New holdable shield, sprites courtesy of Muncher (i had to mangle the side sprites because of a technical little issue. I'll change it back to the original soon). It can be retracted and expanded. Probably only going to be given to traitors.

- A couple of minor bugfixes here and there, along with some code tidying.


Hope this isn't too large a commit. I intended it to be MUCH larger, but I've decided to split up my Traitor Factions expansion into smaller commits.



git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3692 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-29 03:16:47 +00:00
Erthilo 112fb5433e TG: - Some runtime-prevention tweaks so that impatient coders don't just break
everything somewhere down the line.
Revision: r3665
Author: 	 baloh.matevz
2012-05-29 00:33:25 +01:00
Aryn c9478c6a46 Made SkyMarshal's recommended changes. 2012-05-28 16:41:18 -06:00
Erthilo 7f77c0ec91 TG: - Standardized var definition for RND and radio code (possibly some other stuff)
- Removed all cases (that I saw anyway) of flags being defined by static
numbers.
Revision: r3663
Author: 	 baloh.matevz
2012-05-28 23:37:43 +01:00
Erthilo a7dd312b3e TG: - Removed support for the ONBACK and ONBELT flags.
- Replaced them with a whole range of inventory slot flags. These now govern
whether an item can or can't be placed in a certain inventory slot. See setup.dm
for information on the flags. These flags only affect humans tho, as humans are
the only beings with an inventory to talk of.
- Standardized some gun code and some other pieces of code as I came accross
them. I hate indented variable definitions!

This commit should not bring any change whatsoever to the game from a player's
perspective.
Revision: r3659
Author: 	 baloh.matevz
2012-05-28 22:58:57 +01:00
d_h2005@yahoo.com cb2ba1a0e3 -Adjusted balaclavas and added luchador masks. They replace the boxing gloves in the fitness room.
-Tweaked fake moustache. It shouldn't work as internals, but it disguises your identity.
-Fixed a couple flags for the sake of logic.
-Updated changelog.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@3691 316c924e-a436-60f5-8080-3fe189b3f50e
2012-05-28 21:32:12 +00:00