Commit Graph

75 Commits

Author SHA1 Message Date
SkyMarshal
616be6eed8 More while loop stuff, removed shitloads of unnecessary curly brackets in the map reader, fixed ED-209 projectiles 2012-06-22 14:10:48 -07:00
SkyMarshal
9418a1c8a6 Traitor objective system update. 2012-06-21 17:51:06 -07:00
Erthilo
eb7ae97624 TG: Welding tool: Mostly code-related, the players won't notice much.
- Welding tool code how has proper comments! Maybe not "proper" but at least I
don't lie and say a proc is/does something that it doesn't actually do.
- Welders now start full of fuel instead of some random amount between 10-20
- Someone decided it would be a good idea to set the welding tool's 'on/off' var
in a ton of attackby() procs. These objects and turfs shouldnt even touch this
variable. This is why people have been noticing their welding being on without
the sprite or damagetype and amount reflecting that.
- - I've removed a bunch of these instances but there are so many objects and
turfs spread out through the code, there's no way to know if I've got them all
(This is the majority of the files)
- - I've created a new proc in welding tools that checks to see if they are
turned on or not. "isOn()"
- - Since I'm not sure if I've gotten every instance of this force-var-on, I've
set the welding tool to update it's icon every process(). I hate adding checks
like this to processes but it's necessary for now.
- Added a setWelding() proc. If you HAVE to turn the welding tool on or off, use
this, don't just change the var. In fact, dont even touch the 'welding' var
anymore
- Fixes  issue 435

While changing the hundreds(literally) of cases of welding tool uses I've
- Changed some :'s (object:varorproc) I've come across into .'s
(object.varorproc)
- Added checks to make sure the welding tool is actually on before using it
(some attackby()'s didnt have this. Heck, some checked how much fuel you had,
but didn't actually USE the fuel)
- Added sanity checks after some do_after()s that were missing them

Added traitor uplink items back to erro's stat tracker
- Added 'random' with the tag "RN"
- Added thermal meson glasses with the tag "TM"
- Reorganized uplinks.dm a little by moving the 'random' item generation to its
own proc
- NOTE: I have absolutely no way to test this on my own, but it should work!

I've tested a bunch of construction/deconstructions with the welding tool, but
again I've probably missed a few things. If there are any problems, please let
me know and I'll fix them asap.
Revision: r3741
Author: 	 johnsonmt88
2012-06-07 03:30:13 +01:00
Erthilo
d34c64b030 Readded Left and Right indicators to zone select. Fixes Admisn and Ninjas not being invisible. Moves some changelog bits to archived changelog, and updated credits list. 2012-06-05 04:10:05 +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
SkyMarshal
e9ebf14acf Added the capability for the security PDA to scan items in like the detectives scanner, and for it to be loaded into the database in the same manner. 2012-05-31 15:48:53 -07: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
7e3a28bb82 Merge branch 'master' of github.com:Baystation12/Baystation12 into TGUpdates
Conflicts:
	baystation12.dme
2012-05-26 13:46:06 +01:00
Erthilo
a02a12f88f Added Flashkirby's RIG and cow sprites. Removed and added some new AI Ion laws, credit: Ispil. 2012-05-26 01:36:45 +01:00
Erthilo
6e289dabfc TG: Sanitized a large number of input()s.
- Hopefully this will cut down on the server spamming/crashing escapades
happening on other servers. (This wont stop that from happening, this just makes
it less severe)
- Some of the sanitizes were probably unnecessary, but better safe then sorry.

Added MAX_NAME_LEN constant which is initialized to 26.
- Please use MAX_NAME_LEN instead of typing in 26 when cutting inputs short.
26's are annoying when they have to be changed and you have to hunt through over
a hundred files and tens of thousands of lines of code to find them all.

Moved uplink_kits.dm to code/game/objects/storage

Moved uplinks.dm to code/game/objects
- The stuff inside uplinks.dm could really be chopped up and split into separate
dm files but this will do for now.

*********************************************************
**********************Important**************************
*********************************************************
When you create code that asks the user for an input consider whether or not it
gets shown to the user through html or the like.

If it does please sanatize() or strip_html() it. Also use copytext() to cutoff
spam by using MAX_NAME_LEN and MAX_MESSAGE_LEN as the cutoff var.
Revision: r3652
Author: 	 johnsonmt88
2012-05-26 00:09:56 +01:00
Erthilo
97141927ef TG: Fixed an issue where contraband crates could not be ordered and would prevent
other crates in the same shipment from arriving.

Generalised the crate contents randomisation code to allow for future random-
contents crates and avoid unnecessary copypasted code.
Revision: r3588
Author: 	 musketstgstation
2012-05-15 00:25:52 +01:00
Erthilo
363dd54b7e TG: A few map fixes, plus new toilets, urinals, and showers.
All bathroom stuff is fairly WIP at the moment.
The toilet path has changed from /obj/machinery/disposal/toilet to
/obj/structure/toilet
Revision: r3586
Author: 	 petethegoat
2012-05-15 00:11:18 +01:00
SkyMarshal
15d72e3b0e Improves how gas mixture datums are handled, reduces proc calls, commenting. Removed ghost-heating from cryo and "oxygen_agent_b" gas type. 2012-05-11 18:02:30 -07:00
Ren Erthilo
0554a4627c Revert "TG: Added the foundations of a special-day events system. It's a bit more robust,"
This reverts commit d92495a2b0. Does not revert tank alert changes.
2012-05-03 19:30:29 +01:00
Ren Erthilo
d92495a2b0 TG: Added the foundations of a special-day events system. It's a bit more robust,
tidy and efficient than calling isDay everywhere. It defaults to disabled. It
can be enabled by uncommenting ALLOW_HOLIDAYS in config/config.txt

I've added no content just the foundations. All it does is give the station a
holiday themed name and say "Happy [Holiday] Everybody!" at the round-start.

Added a .Set Holiday verb for GM and GA Admins. I'd rather people didn't use it
for now (there's not much point as there's no content yet anyway). It's mainly
for bugtesting.

Foundations are there to create holiday random events and round-start stuff so
we can keep everything together. Check out code/game/gamemodes/events/holidays !

NOTE: This is intended for easter eggs! Little trinkets and such to make these
days special. It IS NOT for spawning grief items and game-changing stuff. If you
REALLY want to add stuff like that, please speak to the project heads. If it's
used for spawning bullshit like poop or grief items I'll just remove my code.
Thanks.

Happy Friday 13th :)

Other Fixes:
Oxygen tanks no longer spam BEEPBEEPBEEPBEEP at everybody nearby. That only
happens for the person holding them.
Revision: r3450
Author: 	 elly1...@rocketmail.com
Date: 	Apr 13, 2012
2012-05-03 03:17:00 +01:00
Ren Erthilo
39f6da4c59 TG: Rewrote blackholes (gravitational anomalies) and wormholes to try and optimise
them a little. If you have any concerns about how I've done so just give me a
shout and I'll either rework them or revert my changes back. Wormholes
especially seem a bit faster on my laptop. Smoke has temporarily been removed
from the blackhole event until I get time to investigate why the hell
effect_systems are using so much memory ( spark effects were using 40% of my
processor a second ago D: ). To compensate this I made them a new sprite.

Commented out the authentication system. It was the remnants of the old goon
authentication stuff (or maybe even older) and wasn't actually used in our code
at all (at least not in any useful way, it was merely called and short-circuited
to 1, so all those if(authenticated) were totally pointless. This has removed 3
unused variables from every client, a bunch of unused variables from the config
and two empty text files!

Committed (as a config option) a feature requested by Apoc station. It causes a
'reply to' window to popup when an admin PMs a non-admin player. It's meant to
grab their attention so they can't say "I didn't see your PM". It defaults to
off. To turn it on just uncomment the #POPUP_ADMIN_PM line in config/config.txt

Fixed a derp in isday where it was fetching the month instead of the day.

Removed medal references from Gib()

Removed the medal_hub global variables because they aren't used in any way shape
or form.
Revision: r3444
Author: 	 elly1...@rocketmail.com
Date: 	Apr 12, 2012
2012-05-03 02:22:25 +01:00
Ren Erthilo
a4e04d2915 TG: Runtime fixes for:
runtime error: Cannot modify null.layer. proc name: done
(/obj/effect/equip_e/human/done) usr: Ramona Fawkes (/mob/living/carbon/human)
src: the human (/obj/effect/equip_e/human)
call stack: the human (/obj/effect/equip_e/human): done() the human
(/obj/effect/equip_e/human): process()

runtime error: Cannot execute null.use(). proc name: attackby
(/obj/structure/barricade/wooden/attackby) usr: Jeffery Long
(/mob/living/carbon/human) src: the wooden barricade
(/obj/structure/barricade/wooden) call stack: the wooden barricade
(/obj/structure/barricade/wooden): attackby(null, Jeffery Long
(/mob/living/carbon/human)) the wooden barricade
(/obj/structure/barricade/wooden): DblClick(the floor (159,129,1)
(/turf/simulated/floor), "mapwindow.map", "icon-x=15;icon-y=12;left=1;scr...")

Rewrote wielded weapons to be their own weapon subclass. There was no point
having a var/wielded var/twohanded var/force_unwielded var/force_wielded for
every damn item when there is only 1 wield-able weapon anyway. All the wield-
able stuff is now in twohanded.dm

Changed the adminhelpsound to some creative commons sound I pinched. Until
somebody can get a better one. I'm sick of MAAAAAAAAOOOOOOW.

All PMs trigger the adminhelp sound. That means when you OM a player they get
the sound, if a admin is PMed they only hear it if their adminhelp sounds are
enabled. This should allow people to get eachother's attention when t he chat is
busy.

Fixed some bad code with poddoors (which is used for the shutters in QM)
Revision: r3435
Author: 	 elly1...@rocketmail.com
2012-05-02 23:09:19 +01:00
Ren Erthilo
926ec66dfd Adds an admin verb that fully sets up the singlo (for testing/debugging msotly)
Fixes the tensioner occasionally attempting to turn cyborgs into malf AIs.
Adds checks to space ninja during its objective creation.
Fixes that fucking message when you're carrying the disk in outer space
Nuke disk now respawns in all rounds.
Adds the abiity to turn off the tensioner for the entire round.
Pinpointers now show the remaining time until a nuke goes off if it's been armed
when examined
Nuclear bombs now have a minimum detonation time of one minute.
- Instead of z-level transition happening when you reach the edge of the map, it
will now happen 7 tiles away from the edge. This means that you will no longer
see the black edge, transition will likely happen without you even noticing.
- The distance from the edge that defines this is in setup.dm, the variable is
called TRANSITIONEDGE and is currently set to 7 (the view range).
Revision: r3312 & r3464
Author: VivianFoxfoot & baloh.matevz
2012-04-29 18:45:11 +01:00
Ren Erthilo
7b119b422a TG: Added Cheridan's hatchets!
Buffed stamped packing slips to be worth 2 supply points.
Revision: r3298
Author: 	 petethegoat
2012-04-27 00:36:33 +01:00
Ren Erthilo
7d04c9c169 TG: Added Spacevines to the random events. Added a spawn space-vines option to the
secrets panel.
Fixes  issue 250  (borg door bug)
Fixed silicon interactions with engineering equipment.
Fixed access lists for radiation collectors, so locking them actually serves a
purpose. Fixed using crowbars on them.
Borgs can name themselves upon module selection (unless a roboticist has named
them previously by using a pen)
To avoid Borgs griefing and then changing their name by selecting a module,
borgs are now unable to move independently until they choose a module.
New sprites for spacevines are on the way. So you'll have to tolerate my crappy
stand-ins for a bit until he is finished with them.
Revision: r3128
Author: 	 elly1...@rocketmail.com
2012-04-23 21:07:55 +01:00
Ren Erthilo
841105e1f5 TG: Widespread grammar fixes! Still loads I've yet to fix. It'll take forever.
Resolved  Issue 333 : The plastic flaps on the mining station now actually block
air-flow. http://code.google.com/p/tgstation13/issues/detail?id=333
Fix for runtime in  issue 332  until getrev is fixed.
https://code.google.com/p/tgstation13/issues/detail?id=332
Resolved  Issue 331  https://code.google.com/p/tgstation13/issues/detail?id=331
Resolved  Issue 304  https://code.google.com/p/tgstation13/issues/detail?id=304
Removed a lever I found randomly placed within the asteroid rock.
Revision: r3021
Author: 	 elly1...@rocketmail.com
2012-04-17 22:11:45 +01:00
Ren Erthilo
901a905776 TG: Committing Carn's patch from here: http://bit.ly/ww7gmD
Game Admins and Game Masters can now toggle random events from happening during
a round, it is also an option in the config file.
Revision: r3017
Author: 	 Superxpdude
2012-04-17 21:35:52 +01:00
Ren Erthilo
87de3c94fd Fixes a ninja ability projectile. 2012-04-16 21:10:13 +01:00
Albert Iordache
2c6660d665 Merge pull request #796 from SkyMarshal/Airlocks
Made transformations between mobs with organs work better.  Destroying a limb removes implants.  Implants now go where you select.  Fixed some runtimes and retardedness.
2012-04-06 09:59:14 -07:00
SkyMarshal
5b3ad2a925 Made transformations between mobs with organs work better. Destroying a limb removes implants. Implants now go where you select. Fixed some runtimes and retardedness. 2012-04-05 21:55:41 -07:00
cib
66447b2b39 Added virus epidemic mode.
- Mode will only start with at least one doctor at round start(CMO or MD)
- Lethal vira won't spawn anymore outside this mode
2012-04-04 19:27:31 -07:00
SkyMarshal
a5a7df1c20 Part two of the objective system. Also fixed up AIs on the shuttle, bug #747, and interacting with windows. 2012-03-25 00:33:38 -07:00
SkyMarshal
09546b7fe0 First commit towards the new objective system. 2012-03-24 21:50:17 -07:00
CIB
1dd17e60a3 Merge pull request #727 from SkyMarshal/Airlocks
Made appendicitis only happen once, jump to explosion link should work, hallucination improvement/sanchecking, increased the damage of things to pre-nerf levels.
2012-03-21 10:02:27 -07:00
SkyMarshal
b86cd6bda4 MAde appendicitis only happen once, jump to explosion link should work, hallucination improvement/sanchecking, increased the damage of things to pre-nerf levels. 2012-03-21 09:46:42 -07:00
Ispil
de0df3c299 Fixed another missing parenthesis in the Ion Storm Laws. 2012-03-19 10:10:45 -07:00
Ispil
6938486e60 New Ion Storm laws based on the AI Laws suggestion thread. And this time, it should work. 2012-03-18 11:40:40 -07:00
Ispil
720e1956a5 Some new ion storm laws based off of the ones from the AI Laws thread. Only the good ones, of course. 2012-03-18 00:40:39 -07:00
Miniature
579bffa737 Made disposals only play the exit sound once at a time, fixed a compile error (sky, seriously), made fluff items fit in pockets properly 2012-03-11 21:20:47 +10:30
SkyMarshal
4654410f83 Made the blob not spawn in an r-wall, impossible to kill. 2012-03-10 18:22:09 -07:00
SkyMarshal
4d7cfb5e34 Another mapupdate, de-nerfed blob, readded the missing Tajaran speak. 2012-03-03 21:08:49 -07:00
SkyMarshal
ba9b919211 Whoops. 2012-03-03 20:26:33 -07:00
SkyMarshal
3e3534f00b Map update, CE now knows wire colors, added some old BS12 stuff (AI upload sprite, warning stripes), complete mute can still be adminhelped, removed gooncode in hallucinations, fixed the poweroffline event.
Map update has a redone CE's office and AI upload.
Explosions now let admins jump to them.
2012-03-03 20:23:10 -07:00
Ren Erthilo
79501f3111 Changed AI laws to use crew instead of human. Left Asimov unchanged. Added more Ion Storms laws. 2012-03-02 18:25:28 +00:00
Hawk-v3
d9e615604e Subject: [PATCH 070/285] TG UPdates: Changelog code has been fixed, when editing it please use notepad or some other text editor that wont attempt to change everything. NOPE ~HAWK
Bit of work on blob, mainly cleanup of the blob gamemode files.
2012-03-01 18:18:32 +00:00
SkyMarshal
02002054de Teleporter has a cancel button.
Improved the admin player panel.
Disposals now work right with things thrown at them.
Nuke upgraded to use realtime.
2012-02-28 13:39:51 -07:00
SkyMarshal
99839d1362 Blob now occurs only 33% of the time it it announced. Readded damp rags.
Map update.
2012-02-26 23:34:01 -07:00
SkyMarshal
c7af63b281 Energy projectiles now move instantly, leaving a straight line from their origin to their destination, like real energy weapons.
Welderbackpack now has a proper icon.
Stun rounds can now be reduced or blocked by armor
Added more update_clothing() calls
Fixed strangling non-humans.
Blob is now an announcement only.
2012-02-26 23:06:43 -07:00
Miniature
67442811ab Made space ninja default to off 2012-02-24 23:23:35 +10:30
SkyMarshal
b5415335d3 Fixed a few runtimes, added debug verbs to help find WTF is up with DNA and 'prints
Improved how disabilities are handled
Fixed some stupid from googol's "smallsize" power
2012-02-18 12:45:01 -07:00
SkyMarshal
a36982a677 DNA and chooseable disabilities! Yaaay! 2012-02-17 19:38:30 -07:00
Tastyfish
47ec6a7021 re-renable things, now that things aren't exploding 2012-02-13 01:01:33 -05:00
Tastyfish
92dc961c10 disable meteors for now, until atmos fixed 2012-02-09 01:29:21 -05:00
SkyMarshal
ffb142abae Secure Airlock update!
4 new wires, completely randomised! (2nd bolt wire, 2 only-drop-bolts wires, and an AI alert wire that alerts an AI 20% of the time, when messed with)
Emags have a limited number of uses, between 3 and 7, and cost 5 TC
Hacktools are more useful than they were, and have a lower chance of alerting the AI
(This is unmapped ATM)
2012-02-08 12:07:12 -07:00
SkyMarshal
dcd0197a1a Poor AI! 2012-02-04 19:43:00 -07:00