Commit Graph

1969 Commits

Author SHA1 Message Date
rastaf.zero@gmail.com
0c5529a2de Bugfixes.
Also, changed minimal amount of chemical reactive from 1 to 0.1, this should fix several issues with chemistry and eating.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1728 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-25 16:22:48 +00:00
panurgomatic
15a5ecdd06 - Moved passability flags from atom/var/flags to atom/var/pass_flags.
Currently there are three - PASSTABLE, PASSGLASS and PASSGRILLE. PASSTABLE - same as TABLEPASS, PASSGRILLE - can this atom pass through grilles and PASSGLASS - can this atom pass through windows, glass doors, etc. Most can_pass() procs were updated.
Added checkpass atom proc to check if this atom has certain pass_flag set.
- Added proc/sanitize_simple() and proc/strip_html_simple(). sanitize_simple does not html_encode the string and strip_html_simple does not sanitize it. Additionally, sanitize_simple and sanitize can take associative list of key-val chars as second argument, where key is char to searh for and val is replacement.
- Added datum/gas_mixture/proc/return_volume() and datum/gas_mixture/proc/return_temperature().
- Added proc/tg_text2list() and proc/tg_list2text(). tg_list2text is slower then dd_list2text, but processes associative lists differently (it adds not the keys, but associated values). tg_text2list is somewhat faster then dd_text2list.
- Added proc/listclearnulls(), proc/difflist(), proc/intersectlist() and proc/uniquemergelist(). Check the code comments for more info.
- Mechs can hold 3 equipment pieces. Gygax can hold 4.
- Tweaked global_iterator CRASH report.
- Fixed mech pilot ejection if mecha was destroyed.
- Fixed mech fabricator process() waiting for sync() to finish.
- Fixed mech fabricator Topic() waiting for process_queue() to finish.
- Some bugixes related to global map and random sectors.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1722 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-24 23:30:27 +00:00
rastaf.zero@gmail.com
ec53fdddc9 Singularity cannot drag blood and runes anymore.
Fixed typos.
Fixed issue 120.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1714 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-23 19:54:16 +00:00
rastaf.zero@gmail.com
7107193778 Guns partially fixed:
- you can now safely put guns on balse and in containers
- you cat beat people woth gun without shooting
- detective's revolver returned to his office.
- aliens now cannot use guns.
A bit of cosmetic changes to code.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1710 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-23 13:46:20 +00:00
noisomehollow@lycos.com
c1f8e47a94 Removed captain's armor from steal list.
Added a few wip icons. Most important is changeling true/combat form in case that's implemented.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1707 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-23 01:39:23 +00:00
noisomehollow@lycos.com
3c0a76df30 Reduced deathsquad marauder number to 3 (previously 4). Added some fluff to their launch sequence.
Revisions to CentCom. CentCom now has its own access levels set, and a unique ID changing computer.
Added nasa void suit and captain armor to item steal list.
Fixed some run time errors for hand-tele from my previous commit.
Removed the remove poo and urine button from secrets.
Decoy AIs can now say stuff like regular AIs. This is useful if you need a non-player announcer for something, while taking into account talk_understand and the like. I use it for deathsquad shuttle announcements. I've placed A.L.I.C.E. on CentCom for such reasons.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1704 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-22 06:28:28 +00:00
rastaf.zero@gmail.com
d6e0f1cf22 Freaking big GAMEMODES UPDATE.
I have done lots of work to make selecting players for special roles be fair.
- New options preferences: "be traitor", "be changeling" and so on for all special roles.
- Now you can have job of AI/cyborg in preferences and do not lower your chances to become wizard/changeling/etc. And vice-versa: you do not have to select AI in your preferences to have non zero chance to play malf.
- Jobban from syndicate bans player from any special role (including malf AI, cult, etc).
- Fixed bug with changeling round not ending sometimes.
- All special roles were tuned to work better as admin-driven event.
-- All adminmade special characters will be listed at the end of round of any type.
-- All adminmade special characters are fully functional with following exceptions:
--- The ending conditions are determined at round start, i.e. you cannot end revolution by killing wizards and malf AIs (however, with nuke you can end anything).
--- The cultists cannot get their special objectives.
--- The malf AI can hack the APCs but without any profit.
--- The syndicate operatives must obtain the nuke/working code from admins.
--- As before, nuclear explosion ends round. Even if nuke was used in wrong place.
- Fixed thingy like "Not enough players for revolution game mode. Restarting world in 5 seconds."
- Changeling wont get objective "absorb X genomes" when there are less that X players in game.
- proc/equip_if_possible now has return value, procs like equip_revolutionary (giving a flash) should be more reliable.
- There are no fake wizards anymore. The research staff have to kill ALL wizards on order to win, even adminspawned ones. ("give spell" verb works as before, not making a spellcaster to actually be wizard).
- The semi-new game mode: traitor+changeling. Just like regular traitor mode plus one changeling. Round ends when the shuttle reaches centcom. Option for config.txt: "PROBABILITY TRAITORCHAN".
- Successful malf AI now have 60 seconds to choose to explode the station or not (some players still have to rejoin game to have their new verbs shown in Malfunction tab).
- Monkeys mode fixed, monkeys wouldn't randomly cure anymore.

For admins:
- New powerful mind editor oriented to mixed rounds.
-- Setting someone as special character (like wizard) does not equip him/her automatically. You have to do it it next step. Note, that in case of wizards and nuke operatives their old dress will be deleted! If you do not want it you shall use "undress" link.
-- Only operatives, head revs and cultists have their objectives set immediately.
-- You can unemad borgs!
-- You cannot unemag borgs because calling mind editor for nonhumans is blocked atm.
-- many other useful features.
-- you can fix burned out flashes from mind editor.
-- first assign the new malf AI/wizard then demalf/dewizard old one or round will immediately end.
- if delete the nuke bomb during its downcounting round will stuck. Using "edit ticker variables" set ticker.mode.explosion_in_progress = 0.

For coders:
- /datum/game_mode/malfunction/AI_Module renamed to /datum/AI_Module. Reason: What. The. Fuck.

Unrelated fixes:
- Blueprints can create areas up to 300 tiles (was 100).
- Cyborgs wont leave backpacks at spawn point anymore.
- Fixed bug in preferences causing preferences files to be huge.
- Diseases can infect again.
- The option "SQL_ENABLED 0" now works in config.txt.
- fixed critical bug on assassinate objective.

Bugs:
- We have a bug with job distribution for people who haven't any available jobs in their preferences. Players tends to group by jobs.
- For example, if we have 3 players they with hight chances will got same jobs. And probability of having one engineer and one medic _exactly_ equals _zero_.
- I am not sure if my changes made that bug worse. Anyway I MUST do this commit. Bug will be fixed eventually. Maybe.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1703 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-21 21:22:23 +00:00
noisomehollow@lycos.com
835118fa49 Ninjas are now a random event. They may appear in most game modes after about an hour, with an assigned objective list.
Fixed aliens :a talking while dead.
Disabled hand-tele on clown-planet z-level since people were still finding ways to abuse it.
PDA menu will close properly if detomatrix fails and explodes own PDA.
Late joiners are now added to minds. It's now possible to assassinate them, and so on, as an objective.
Added a few more objectives (capture, steal brain of, protect, and download research) and new possible items to steal (also fixed admin-added steal objectives). Mostly focused on ninjas but admins can give them to regular traitors. Only research downloading is outright impossible for regular traitors (they must wear a ninja suit).
Added a few revisions to mind/objective datums and a few other things. The game should now report any extra antagonists for most round types, excluding AI malfunction.
Added two new words to station_name.dm.
Other misc changes.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1698 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-20 05:22:41 +00:00
noisomehollow@lycos.com
36e4f5c55c Fix for 1687.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1688 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-13 02:25:24 +00:00
noisomehollow@lycos.com
a14cfd6464 Added expanded piano code by HornyGranny. Instead of like 8 notes, it plays all the notes (?). Improved by me.
Admin midis should probably not screw up when played by more than one admin at the same time.
Added ninja RD hacking.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1687 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-12 23:51:51 +00:00
noisomehollow@lycos.com
1dfe1cda8e #Fixed Chaplain hoodie sprite.
#Respawn_character() now properly respawns aliens and monkeys if specified to do so.
#Added more options in admin quick panel (for players) to get, send, check if traitor, narrate, and subtle message mob.
#Admins can now click an X by admin name, in asay, to jump to that admin. Makes things easier.
#Moved admin transform verbs into fun tab.
#Removed boom boom shake the room since not even hosts are allowed to use it.
#Pierrot's throat now has a 35% chance of being cured by eating bananas. Up from 5.
#Fixed AI cards.
#ed209 and Beepsky now properly figure in deafness when speaking. Doesn't affect voice files.
#Fixed Syndicate PDA not triggering door.
#Aliens can no longer magically crawl to the prison station and back.
#Aliens can now quickly (5 seconds) break out of cuffs by resisting. No change to buckled.
#Facehuggers will now properly set the alien_egg_flag if the target was infected or not. Curing the alien egg should also reset the flag. I think it will be best to get rid of the flag entirely in the future.
#Added isalienadult(mob) proc to check for humanoid aliens.
#Probably fixed death squad spawning. They pick by key now, instead of mob name.
#Spawning xenos now uses the client match method so you can specify who you want to respawn if wanted.

#Ninjas now tell admins what their set mission is. If given objectives by admin, it should report them at round end for certain rounds.
#Spawning ninjas now uses the same method as respawn character (typing in key/ckey).
#Added a ninjify admnin verb. Possible to right click.
#Can now resize spiderOS window.
#Misc fixes and adjustments. Minor map change to CentCom holding facility.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1685 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-12 18:10:53 +00:00
noisomehollow@lycos.com
bbd3be907a Fixed and improved object mind transfer. It will work properly now.
Fixed teleporting randomly on clown planet z level (with hand tele). Probably won't work on extended but who cares.
Some misc improvements to code words.
Cut down on the amount of chloralhydrate in the sleepypen since it was fatal, apparently.
Fixed observing. Entry shuttle starts with less sleepers than before.
Some more wip stuff.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1670 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-08 04:12:05 +00:00
noisomehollow@lycos.com
3ddae57d63 Wizard will now report if they mind swapped with a person after round completion. Or in other words, if they're in a different body than round start.
Changing changelings during the round should probably work proper now.
AI will now report that people woken up from cryo sleep, when they join. The arrival shuttle changed to accomodate this.
Added poff to pAIs until TLE revises that whole process. You should be able to message them back now. 
Slighly revised the entry shuttle.
Added a holding facility to CentCom.
Made the DJ station fully unsimulated. Removed unsimulated floor from derelict. Hopefully I got all the tiles. NOTE: When simulated floor meets unsimulated floor, Atmos goes berserk. Don't do this. Also, you can't deconstruct unsimulated stuff.
A few other misc adjustment to the map.
Added a variable to Rev that tracks what heads are supposed to be assassinated. Not sure why it didn't exist before.
Added some ticker mind checking to a few procs I forgot about. Yup.
Added an option to check assassinate objectives by special role.
Some foundation for future ninja stuff. Ninjas now swap battery by clicking on their suit with the battery in hand.
Some misc icon changes for areas.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1668 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-07 03:01:43 +00:00
noisomehollow@lycos.com
501c855aac Sight update to strike team admin proc. It should pick people as intended now. Can't really test it locally so who knows.
Admins can again spawn everyone as ninjas, including themselves. Inactive player checking is still there though.
A slightly updated stealth graphic for ninjas.
Fixed a lawsync() run time error.
Fixed station_explosion_cinematic() run time error.
Fixed copy_to() run time error.
Fixed dnainjector/attack() run time error.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1667 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-06 06:43:59 +00:00
noisomehollow@lycos.com
fe889a3e8d Addendum to: r1655
#Added an icon helper procs library by Lummox Jr.
#Added more icon+overlay functionality by DarkCampainger. Both can be found under icon_procs.dm.
#Added continuous beam code by Gunbuddy to atom.dm. You can now create continuous beams of energy/magic/monkeys/whatever. For instance, pAI cords. It's really awesome.
#Like optical camo? Well I have good news. New stealth "graphic." May need some fine tuning depending on player/coder preference. It's also a little slow to change (due to update_clothing()). With that said, it's a lot cooler than what we had before. Check it out.
#Added the getIconMask() and AddCamoOverlay() procs for the above.
#Added animated satic filter icons by Koil to icons.
#New force wall and shield icons. Shield icons moved to effects.dmi.
#Changed up the abandoned mining station.
#Moved a few carp spawn points closer to the station. Added a few more.

Ninjas:
No longer spawn whoknowswhere like they did at times before.
Get a unique stealth graphic. Yup. Also, small chance of failure.
New energy net icon and effects. Energy net now uses the beam code mentioned above. It will now check for stealth.
Fixed some graphical icon issues with ninja suit. Added a female black jumpsuit to icons for this reason. Added icon directions to ninja effects.
Some more general code cleanup.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1664 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-05 09:25:15 +00:00
rockdtben
789fbc75dc git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1661 316c924e-a436-60f5-8080-3fe189b3f50e 2011-06-04 20:20:32 +00:00
morikou@gmail.com
8188eb5e17 Gun Code Overhaul Phase 1: (Now with 50% less wasted code!)
- Gun code condensed to make future modifications easier. Functionality should (mostly) remain the same.
- Taser guns shoot ONE WHOLE SHOT more then they do now. Yippy!
- Energy Crossbow has a slightly higher shot capacity (still automatically recharges).
- Guns that shoot projectiles (such as revolvers) now eject the ammo casings when they fire (this will be adjusted somewhat in phase 2).
- Revolvers can either be loaded one shell at a time or all at once with an ammo box.
- All guns now have a badmin var. Have fun (think shotguns).
- A few admin-only guns have been removed (for now). They'll get re-added in a future update.
- Shotguns no longer need to be pumped before firing (will change back in phase 2).
- All gunshots fired by players are now logged in both the firer's and the target's attack_log. So if someone gets shot and it doesn't show up, it's because a turret or something shot them.

Hopefully I didn't miss anything.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1659 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-04 03:39:20 +00:00
noisomehollow@lycos.com
321b26e39c #Huge code overhaul and cleanup for ninjas. Basically, the suit is about as modular now as I probably care to make it. Admins, read the commented text under Admin Notes, in space_ninja.dm. Tell your friends.
#Ninja suit now supports pAIs. Further functionality will probably come from their development.
#Ninja suit can now replenish chemicals from beakers. Simply use a beaker on the suit and it will do the rest, if the beaker contains the right combination of chemicals.
#Draining from a wire is now done through clicking instead of a verb. There is no more delay to it.
#Ninja stars cost a bit more energy than before.
#Ninja suit will start initializing automatically (and quickly) when ninja spawned.
#Minor sprite fix for female ninja suit.
#Note: AI-related verbs for the ninja suit will be bugged until BYOND 484 comes out. Not a huge deal but worth noting.

#The has_reagent() proc will now return the reagent being checked for, instead of 1. Will return 0 if reagent is not found (or the amount does not match). Removed a duplicate arithrazine entry.
#AIs should now properly camera_cancel() when carded/physically transfered.
#Fixed a small menu display bug for AI cards. AI cards should now properly auto close their window when appropriate.
#AI holograms should now project above everything.
#Mal AIs can now choose to display an alternative (and awesome) sprite.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1655 316c924e-a436-60f5-8080-3fe189b3f50e
2011-06-03 04:53:55 +00:00
Daelith.Rhedynfre@gmail.com
45960ad350 -Fixed meteors so that they properly come from multiple directions
-Added a new malf AI sprite, courtesy of the d2k5 server.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1643 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-31 09:02:02 +00:00
Daelith.Rhedynfre@gmail.com
0f95a5e4ab -Made meteors pack a bit more of a punch, and made them not stopped by grills
-Tweaked stealthmin names to be more relevant

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1629 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-29 03:02:17 +00:00
noisomehollow@lycos.com
54bddf8c76 Reverted 1624. The proc in question is for regular players only. This may change in the future but not right now.
New sound effect for ninja phasing.
Added a female-only ninja suit sprite. Will conform to the character once initialized.
Stealth is now a an equipment verb and functions a little different from before. I may tweak it a bit in the near future.
BYOND fixed a verb bug in r484. Certain ninja verbs will now function as intended once the release version comes out. I've went ahead and made the necessary code adjustments for it.
More ninja code cleanup in preparation for a few things.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1627 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-28 23:12:31 +00:00
uporotiy
cbe6a8885c Returned the ability to make admin ninjas per request.
Cleaned up the ninja code just a bit along with that.
Please note that allcaps names shouldn't be used for vars, only for defines.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1624 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-28 13:27:47 +00:00
noisomehollow@lycos.com
fd0133d920 Fixed a bug from 1607. Observing and the like should work properly now regardless of config. May need more testing but looks solid on my end.
DONT_DEL_NEWMOB in config.txt is no longer necessary and you can remove it entirely.
Respawn character now uses ckey() matching so it doesn't matter what case you type in a person's key. It also takes into account space ninjas and death commandos if you want to respawn them. Also fixed a few bugs dealing with special roles.
Revised code for checking security records and added missing ranks as per bug report by Magicbones.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1614 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-23 23:35:31 +00:00
noisomehollow@lycos.com
e68ce8721f #Finished the respawn_character proc. Use it to quickly bring a player back into the game with their previous character if they were gibbed/deleted. If you want them to make a new character, kick them out and let them rejoin. Can also be used to quickly enter the game by admins and the like. It's fairly robust so you can read the code to find out what it does (and does not).
#Added a locked list to datacore in order to track character spawn, particularly for respawn_character(). May be useful in the future.
#Added a proc to randomize appearance for any human mob, randomize_appearance_for(mob). It will not take into account gender as you will have to provide it. Names and so on are also randomized but that can be overwritten in the code following.
#Added AI holopads around the station. To use as the AI: click on the pad to center view on it. Click again to activate the hologram. Move it with the directional keys. You can still interact with objects normally. To remove it, either move it too far out or click the pad again. Use robot talk to directly speak through the holopad (and only the holopad, unlike regular robot speak). Could be added on to (like different images for different AIs) but it's basically finished.
#Fixed a bugged message on changeling transformation sting. It will no longer give away your identity.
#Made law datum a silicon define. var/datum/ai_laws/laws.
#A few more ninja adjustments. Added a new view mode for the ninja mask, allowing to see special roles and a few other things.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1608 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-22 23:48:29 +00:00
noisomehollow@lycos.com
a9d2227518 #Added an check for range/items when trying to insert an ID card/update info into a PDA. It should no longer run time error.
#Added a Halogen Counter function for engineering PDAs. Measures radiation of a mob.
#Brain/MMI code overhaul. Brains/MMIs should no longer screw up when the brain is deleted. MMIs should now properly eject from cyborgs if they are blown up, among other changes. Brains no longer die when transferred between containers but won't be able to speak without a container.
#Added a research MMI that comes with a radio built in. The brain can toggle the radio functions on or off via verb panel (MMI).
#Traitor code words will now use the crew roster for name generation 70% of the time.
#Ghostize() is now a lot more robust. If you need to throw someone into a ghost if they are killed/whatever, use it.
#Deleting a mob will now spawn a ghost for it through ghostize(), if it has a key, so you don't need to worry about that. You can null key people if you want to kick them out of the game.
#Ghost verbs are now in their own panel (Ghost). ghost() is the proc/verb that mobs get to turn into ghosts. ghostize() is now a proc only used through other procs.
#Changed how ninjas get their verbs. Long story short, wizards are now able to mind swap with ninjas. Stay hidden Snake! Also, more code improvements and additions to ninjas, including more fun for the AI.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1607 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-21 05:06:53 +00:00
noisomehollow@lycos.com
e7d8a28fd4 #Reverted default religion to Space Christianity. SS13 is not 40k and the Imperium is not mentioned anywhere in the [tgstation] backstory as far as I know. It's fine if that's what you want to worship but it does not make a lot of sense for it to be the default option.
#A few specific religions will now spawn unique books (they all use the Bible sprite). Feel free to expand on this.
#AIs and cyborgs will now get the code phrases if they are a traitor. Rev heads will no-longer get them. Finally, rev heads will properly equip their items if admin-made.
#Added field generator code improvements by Aygar.
#Added a general turf proc to kill mobs/creatures in a tile, kill_creatures(). Might be useful in the future if more creatures are added.
#Added a general teleport proc, get_teleport_loc(). Supports only 4 directions of movement.
#More code improvements to ninjas. Admins will now only spawn player ghosts as ninjas. No more admin ninjas.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1577 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-13 08:30:05 +00:00
noisomehollow@lycos.com
73e160cf26 A few more ninja bugs fixed.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1567 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-11 04:22:08 +00:00
noisomehollow@lycos.com
1d8dea2337 AI's that do not name themselves after 20 seconds will default to their starting name.
Added a direction finding algorithm for target, get_dir_to(). Mostly useful for positioning sprites in relation to a target. Such as energy beams, lines, and so on.
Changes to ninjas. Fixed a bunch of bugs and finished content. It is now possible to drag people with you when phase jaunting/shifting. Jaunting/shifting should also kill livestock, huggers, and damage mechs.
Renamed /obj/spell path to obj/proc_holder/spell in order to have a generic proc_holder category. For now it only works for the AI but can be expanded to other mobs.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1566 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-11 02:01:30 +00:00
tronaldnwn@hotmail.com
90f747ffd9 Bug fixes (due to minor typos):
- Basic Drills Now can be made
- Flame throwers give plasma research
- Plasma cutters give plasma research

Fluff Text change:
- Lights out event: The fluff text now is that an "Electrical Storm" causes the lights to overload, and Nanotrasen isn't blowing out expensive lights randomly.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1563 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-10 04:46:04 +00:00
noisomehollow@lycos.com
cc12a2f08b Added a transfer_ai() proc to easily transfer AIs between objects, provided the mobile object has a flush variable.
Probably fixed AI-ninja suit transfer.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1559 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-09 20:50:39 +00:00
noisomehollow@lycos.com
ab87c76da1 #Beta: added code phrases for traitors which consist of the code phrase and the code response (which consist of a sequence of words). They are meant to flow into a regular conversation in the sequence provided. There is also a small chance that a traitor may not know either phrase or response, or both.
For an example, let's say the phrase is: culture, wine, admit. The response is: massive, tired, doctor's delight. A traitor may begin a conversation with something like: "A man of culture always drinks wine, I must admit. What do you think?" The response to that: "When I am massively tired, I drink doctor's delight. Otherwise, I abstain." The example is best referenced in the Bar, or any place where drinks are available. With enough creativity and linguistical acumen, it may be used elsewhere.
The point here is to make conversation seem as natural as possible while providing traitors a means to recognize each other. The words do no have to be exact, either. Quarter Master may be QM and the Captain may be Cap'n. Traitors should still recognize what is being communicated--or not.
#Deactivated AI cores are no longer mobs. This is mostly cosmetic. You cannot gib a deactivated AI since it will be an object, not a mob. It will also not announce arrivals since it's an object, not a mob (this is an improvement, in my opinion).
#Some code tweaks to AIs. They will now auto-start with a random name instead of their default-chosen name (which is still changeable).
#Intelicards should no longer constantly refresh the window when they are being wiped.

#Added new mech sprite.

#Resin walls should no longer delete the person inside when killed in certain ways. Hulks will easily break free from resin if placed inside.
#Ninjas can now download the AI onto spiderOS, provided Drain is on. SpiderOS works with AI cores, AI cards, and restoration terminals. Make sure Drain is on when you click on either the object (core/terminal) or the suit (aicard). AIs with law zero may get to have some fun, depending on circumstances.
#Toggle Drain renamed to Toggle Interaction. It now serves as general trigger for special ninja interactions.
#Added energy net power to ninjas. Prototype for HerpA and whatever he may want to do with it but it's pretty much finished. The energy net can be destroyed by the person trapped (or others) and will teleport them to the prison after 30 seconds.
#Ninjas can now slice cameras apart per request.

#Added a few more type checking procs (isliving, islarva, isobserver, ishivemainframe).
#Mobs that are anchored will no longer be able to move (AIs will still move as normal). You will also not be able to grab them.
#Incorporeal Move now works properly for regular mobs once more.
#Marauders from CentCom can now launch directly from their bay. Start the shuttle and wait on a mass driver. On that note, mechs can now go through portals and launch through mass drivers.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1558 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-09 09:45:56 +00:00
uporotiy
678238a0a1 Changed all the magic numbers for mutations to PORTALS, COLD_RESISTANCE, XRAY, HULK, CLOWN, FAT and HUSK constants.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1545 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-07 18:29:23 +00:00
noisomehollow@lycos.com
bbc04ef26b Fixed PDA messaging.
Fixed PDA flashlight.
To clarify, you can still use the PDA when you are stunned/weakened. This was always the case, apparently. You cannot use the PDA when knocked out or dead.
You can now stick an ID card into a PDA without clicking 400 times (click on PDA with card in hand).

Changed how the ninja suit functions in relation to energy. It will now hold a power cell as APCs/Borgs/etc.
Ninjas can now replace their starting power cell (reduced to high capacity/10000) with larger capacities. Drain the cell as normal to do it. On that note, hyper-capacity (30k) cells added to research.
Can now drain energy from a recharger. Much like draining from wire.
Added cooldown to certain ninja abilities. It is a global cooldown; meaning, most abilities will be unusable until it finishes. Usually a second.
Some icon changes for ninjas.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1540 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-06 23:34:56 +00:00
noisomehollow@lycos.com
2c6b1841ef Cleaned up PDA code a litte more. Can again resize window. The close button is in the menu.
Toilets now work more like actual toilets. They will auto-flush when you insert a small object. You can also dunk people's heads into the toilet and try to choke them if you have a good grip.
Fixed wiring near detective's office.
Fixed larva and monkeys not being able to move on tables.
Fixed larva not being able to crawl through vents.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1535 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-05 21:19:10 +00:00
noisomehollow@lycos.com
40b78e2438 Cleaned up ninja code so it's not all-over the place.
Reworked energy charging to where it's probably bug free and much easier to edit.
Reworked PDA code so it's much faster and easier to use. Might have some bugs left over.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1532 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-05 01:33:50 +00:00
uporotiy
80d5710d58 Nuclear mode
The nuke ops now spawn with normal names with one catch - their last names are the same (chosen by their boss).
FIXED microwave's "S" balloon for syndies. Attention, microwave - TEST your code before you commit it.
 Revolution
Most likely fixed the bug with cloned rev icons being reversed.
 Icons
Added rev/headrev/syndie balloon sprites for holding in hand. Now I need only the item sprites and we'll have new toys :D

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1526 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-04 11:39:11 +00:00
tronaldnwn@hotmail.com
a6959b2e69 hydroponics
- Bananas can now be grown (they are now snack/grown/banana)
- Sunflowers can now be grown and harvested (very limited use till I add in some seed recipes). Smack people with them for a unique message.
- Both seeds are loaded into the seed vendor (for now), vendor is alphabetized.
- New seeds added to either of the seed crates.
- Move hydroponic items out of the weapon.dm and into hydroponics.dm

Nuclear Agents
- They have a little S symbol by their head now, that only other Agents can see.

Other
- Optical Material Scanners are blue goggles now, rather than a blind fold.

Map update was just to update all the bananas on clown planet to the new "grown" item path.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1525 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-04 06:27:36 +00:00
uporotiy
3b95ca9568 Hydroponics
Fixed a horrible bug with the replica pods grabbing non-dead players.
 Wizard
Fixed a potential exploit with the teleport spell (object, of course).
 AIs
Fixed another horrible bug of mine, where the death() proc doesn't process past a certain point.
 Glowshrooms
Now drop to the floor when the walls nearby are destroyed.
 Biomass
WIP added. Do NOT spawn them on live servers unless you want colors everywhere.

Also my code is horrible and I should feel horrible.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1521 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-03 16:03:20 +00:00
uporotiy
a2f55ddf6c Events
Added a "lights out" event.
 Flashlights
Red toolboxes now have only a 50% chance to spawn a flashlight (to add diversity and make the lights out event less easy to circumvent).
 Explosions
Explosions are now round. This is quite a big balance change, so it's subject to change in the future.
 Hydroponics
Hopefully fixed the bug with invading weeds etc being unharvestable.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1516 316c924e-a436-60f5-8080-3fe189b3f50e
2011-05-02 12:22:31 +00:00
noisomehollow@lycos.com
52093c8a0d I guess I wasn't as gone as I thought I was. Go figure.
Code cleanup on some ninja+misc stuff.
Slightly faster energy recharge rate for ninjas.
Likely fixed the wizard/nuke operatives/MODE appearing in the Cent Com report.
Added a trio of hidden functions to ninja suit. Use with care!

I'm also removing myself as a committer.
Happy Easter! Peace!

PS: I'll miss you too Microwave :)

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1498 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-25 03:09:18 +00:00
uporotiy
5b5d717443 Issues: The Closening
The code part of the update.
i74 - I don't want to deal with AI stuff.
i72 - Not a bug, but remains here because it concerns the SVN.
i70 - No idea how to fix.
i68 - Nobody knows how to fix process(). Will look into later.
i67 - I don't want to deal with AI stuff.
i66 - Fixed.
i59 - What can I say? It's atmos.
i51 - Is explained on the forum
i50 - Couldn't replicate.
i49 - FIXED.
i48 - I'll look into it later.
i46 - I don't think that's a good idea.
i45 - I don't think that's a good idea.
i44 - No idea how to fix.
i42 - Already been fixed.
i38 - Outdated (not present on this map)
i36 - No idea how to fix.
i32 - I don't think that's a good idea.
i31 - Isn't fixed, bug the spriters for that.
i30 - Fixed.
i29 - I don't think that's a good idea.
i27 - Added (not really easy to playtest properly, though, so it's probably buggy)
i25 - Outdated (works on this map)
i23 - Fixed (you can now only aoe 5 times per minute)
i18 - Not a bug. Moved to my "possibly but not really" projects folder.
i17 - Already been fixed.
i16 - Already been fixed.
i13 - Not a bug. Moved to my "possibly but not really" projects folder.
i12 - Already been fixed through different means.
i10 - Fixed (thanks to the suggestion in the comments)
i 6 - No idea how it works, can't check. According to Agouri, still present.
i 5 - Not important right now.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1491 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-23 15:52:17 +00:00
n3ophyt3
6820c60a65 Wormholes no longer show up as a random event, since they are apparently all laggy.
The badmin button still works, but SoS will likely be mad at you if you push it. So don't push it.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1479 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-20 21:43:49 +00:00
uporotiy
4c73d22458 Object Spell System v1.12
Added trigger spell, which basically activates two or more spells at once. Used that to fix fireball and blind to what they were pre-change (not code-wise, but the same for the end user).
Projectiles aren't limited to default spells now.
All spells now use a user argument (=usr by default) instead of usr.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1474 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-19 20:03:17 +00:00
uporotiy
b7db69b6f8 Object spell system v1.1
Completely revamped the classes, it's even more streamlined now. Got a few bugs and tweaks (namely, blind doesn't work, fireball got buffed up as compensation for not dealing additional damage to the target), but it's okay, since nobody uses those anyway.
 Fixed the bug with emagged borg laws.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1465 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-17 18:49:46 +00:00
rastaf.zero@gmail.com
ef23794506 Fixed runtime error with changeling gibbed by alium larva.
Added sanitize() to naming the buffers in DNA machine and to alien whispering.
Added 0.5 sec timeout for BANG BANG.
Added drinking glasses to the Dinnerware vending machine.
Update from Nikie:
Verb Reload Admins rereads admins.txt
Parameter sql_enabled in config. Prevents spam when sql is not installed.
NOTE FOR HOSTERS: it is currently ON in code (i.e. behavior is unchanged yet), you have to add SQL_ENABLED to your config.txt during next week. Thanks for your attention.
Fixed "Delay" command.
Messages for help intent are gender-aware now.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1463 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-17 18:09:30 +00:00
rastaf.zero@gmail.com
b58e465bbe Shitton of bugfixes related to bryteloss/fireloss.
Note for coders: in order to help with seaching of health-related bugs I have moved many procs from /mob/ under /mob/living/.
Also, done some clean up and rearranging.
Results:
-admin rejuvenating now works again;
-people screams if getting creamated while still alive;
-diseases actually loose your health;
-monkeys wearing masks receive protection from acids as humans did;
-and other minor fixes and improvements.
Bugfix for imbuing a talisman.
RD now spawns with only 2 pens instead of 3.
Audible emotions can be heard by people outside of locker/other container.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1446 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-15 07:41:19 +00:00
rastaf.zero@gmail.com
ad6a6e42aa Penlight fits in medical belt.
Fixed several runtime errors.
Monkeys and aliens won't stack dozens of blood stains.
Fixed crash in FEA code related to melting floors.
When screwdrived destructive analyzer unlink from RD console protolate instead of itself.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1443 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-14 03:52:09 +00:00
rastaf.zero@gmail.com
ae1d99ee73 Almost all chemicals sould heal and harm humans and non-humans properly.
Various bugfixes for cult.
-raised and manifested are cultists
-you cannot use target for sacrificing
-free a cultis frees from muzzle, closets, pods
-removed unused files.
Added satitize() to emotes.
Extended and Random were returned to Game Panel.


git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1432 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-10 20:57:42 +00:00
noisomehollow@lycos.com
9463550d2a Nuke teams will not be able to leave on their shuttle until the bomb is armed and counting down.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1427 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-09 23:47:43 +00:00
uporotiy
a823bb42cf Object Spell System v1.04
Fixed a few bugs. v1.1 will involve reworking the classes because disintegrate being only a few var-edits away from heal is silly.
 Admin-controlled objects now pass through dense things if they themselves aren't dense.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1419 316c924e-a436-60f5-8080-3fe189b3f50e
2011-04-08 18:37:25 +00:00