Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
367 changes: 144 additions & 223 deletions area/help.are

Large diffs are not rendered by default.

46 changes: 22 additions & 24 deletions area/limbo.are
Original file line number Diff line number Diff line change
Expand Up @@ -1087,12 +1087,12 @@ normal~

#100
handsoldier man dark sturdy clothes soldier~
`DHand soldier in dark, study clothes`x~
A Hand soldier in dark, sturdy clothes
`DIlluminati soldier in dark, sturdy clothes`x~
An Illuminati soldier in dark, sturdy clothes
~
This man is dressed in dark, sturdy clothes. Jeans and combat boots with
a heavy coat that mostly conceals a short black pump action shotgun. A ring
on his right hand features a symbol of a fist.
This person is dressed in dark, sturdy clothes: jeans and combat boots with
a heavy coat that mostly conceals a short black pump action shotgun. A ring
on their right hand features an Eye of Providence.
~
soldier~
~
Expand All @@ -1111,13 +1111,13 @@ D 25 30

#101
handlieutenant black armored soldier modern lieutenant~
`DHand lieutenant in black modern armor`x~
A Hand lieutenant in black modern armor
`DIlluminati lieutenant in black modern armor`x~
An Illuminati lieutenant in black modern armor
~
This figure is dressed in modern black ballistic armor not very well
covered by bulky street clothes, their face is hidden behind a helmet but a
heavy combat knife is visible on their thigh, as is a symbol of a fist on
their shoulder.
covered by bulky street clothes, their face hidden behind a helmet. A heavy
combat knife is visible on their thigh, as is an Eye of Providence on their
shoulder.
~
soldier~
~
Expand All @@ -1137,13 +1137,12 @@ D 41 75

#102
ordersoldier brown coat soldier~
`WOrder soldier in a long brown coat`x~
An Order soldier in a long brown coat
`WAnarchist raider in a battered coat`x~
An Anarchist raider in a battered coat
~
This figure is dressed in practical street clothes and a heavy long brown
suede coat which just barely fails to conceal the shiny metal of ringmail on
their torso and the sword at their hip. The crossguard of the sword
features a symbol of a scroll crossed with a sword.
This figure is dressed in practical street clothes and a heavy long coat
that just barely conceals scavenged armor plates and a blade at their hip.
A crude circled A is painted across their jacket like a warning.
~
civilian~
~
Expand All @@ -1162,13 +1161,12 @@ D 26 20

#103
orderlieutenant well-armored armored sword sawn-off shotgun lieutenant~
`Warmored Order lieutenant with a sword and sawn-off`x~
An armored Order lieutenant with a sword and sawn-off
`Warmed Anarchist lieutenant with a blade and sawn-off`x~
An armed Anarchist lieutenant with a blade and sawn-off
~
This man is dressed entirely in modernized plate mail armor, with a long
brown coat doing a bad job of attempting to conceal it. A large broadsword
is held in one hand while a double barrel sawn off shotgun is in the other.
A symbol of a sword crossed with a scroll is emblazoned on his armor.
This fighter is dressed in scavenged armor plates under a long coat. A
large blade is held in one hand while a double barrel sawn off shotgun is in
the other. A crude circled A is scrawled across their gear.
~
civilian~
~
Expand All @@ -1188,8 +1186,8 @@ D 41 75

#104
handbunker bunker~
`DHand Bunker`x~
A Hand Bunker
`DIlluminati Bunker`x~
An Illuminati Bunker
~
~
civilian~
Expand Down
27 changes: 19 additions & 8 deletions bin/startup
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
#!/bin/sh -f

set -eu

# Enable core dumps
ulimit -c unlimited

# Set the port number
port=3000
port=${1:-2350}

SCRIPT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
HAVEN_ROOT=$(CDPATH= cd -- "$SCRIPT_DIR/.." && pwd)
AREA_DIR="$HAVEN_ROOT/area"
LOG_DIR="$HAVEN_ROOT/log"
HAVEN_BIN="$HAVEN_ROOT/src/haven"

mkdir -p "$LOG_DIR"

# Change to area directory
cd ../area
# Change to area directory (boot expects this)
cd "$AREA_DIR"

if [ -r shutdown.txt ]; then
rm -f shutdown.txt
Expand All @@ -16,7 +26,7 @@ fi
while true; do
index=1000
while true; do
logfile=../log/$index.log
logfile="$LOG_DIR/$index.log"
if [ -r "$logfile" ]; then
index=$((index+1))
else
Expand All @@ -26,12 +36,13 @@ while true; do

# Enable core dumps and run the game
ulimit -c unlimited
../src/haven "$port" >"$logfile" 2>&1
"$HAVEN_BIN" "$port" >"$logfile" 2>&1

# Check for the core file and move it if it exists
if [ -r ../area/core* ]; then
mv ../area/core* ../log/core.$(date +%s)
fi
for corefile in "$AREA_DIR"/core*; do
[ -e "$corefile" ] || break
mv "$corefile" "$LOG_DIR/core.$(date +%s)"
done

if [ -r shutdown.txt ]; then
rm -f shutdown.txt
Expand Down
Loading