Merge pull request #230 from skull132/webinterface-integration

Webinterface integration - Patch 1
This commit is contained in:
skull132
2016-03-25 00:37:09 +02:00
2 changed files with 24 additions and 21 deletions

View File

@@ -220,7 +220,10 @@ var/datum/antagonist/raider/raiders
player.equip_to_slot_or_del(new new_suit(player),slot_wear_suit) player.equip_to_slot_or_del(new new_suit(player),slot_wear_suit)
equip_weapons(player) equip_weapons(player)
player.equip_to_storage(new /obj/item/device/contract_uplink) //Try to equip it, del if we fail.
var/obj/item/device/contract_uplink/new_uplink = new()
if (!player.equip_to_appropriate_slot(new_uplink))
qdel(new_uplink)
var/obj/item/weapon/card/id/id = create_id("Visitor", player, equip = 0) var/obj/item/weapon/card/id/id = create_id("Visitor", player, equip = 0)
id.name = "[player.real_name]'s Passport" id.name = "[player.real_name]'s Passport"

View File

@@ -255,21 +255,6 @@ USEALIENWHITELIST
## Password used for authorizing ircbot and other external tools. ## Password used for authorizing ircbot and other external tools.
#COMMS_PASSWORD #COMMS_PASSWORD
## Uncomment to enable sending data to the IRC bot.
#USE_IRC_BOT
## Uncomment if the IRC bot requires using world.Export() instead of nudge.py/libnudge
#IRC_BOT_EXPORT
## Host where the IRC bot is hosted. Port 45678 needs to be open.
#IRC_BOT_HOST localhost
## IRC channel to send information to. Leave blank to disable.
#MAIN_IRC #main
## IRC channel to send adminhelps to. Leave blank to disable adminhelps-to-irc.
#ADMIN_IRC #admin
## Path to the python2 executable on the system. Leave blank for default. ## Path to the python2 executable on the system. Leave blank for default.
## Default is "python" on Windows, "/usr/bin/env python2" on UNIX. ## Default is "python" on Windows, "/usr/bin/env python2" on UNIX.
#PYTHON_PATH #PYTHON_PATH
@@ -370,3 +355,18 @@ STARLIGHT 0
## Uncomment to override default brain health. ## Uncomment to override default brain health.
#DEFAULT_BRAIN_HEALTH 400 #DEFAULT_BRAIN_HEALTH 400
## Uncomment this to house whitelists on the SQL database.
# SQL_WHITELISTS
## Uncomment this to use the discord bot.
# USE_DISCORD_BOT
## The host address of the discord bot.
# DISCORD_BOT_HOST
## The port number which the discord bot is listening for nudges.
# DISCORD_BOT_PORT
## Uncomment this and fill in the web interface's URL to use the web interface.
# WEBINT_URL http://www.address.com/