Cover image + bugfixing

This commit is contained in:
Alexander Yakovlev 2016-01-01 21:05:30 +07:00
parent cae7bcac72
commit c1cf0e2aa4
4 changed files with 182 additions and 3 deletions

175
cover.svg Normal file
View File

@ -0,0 +1,175 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="315"
height="250"
viewBox="0 0 315 250"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="cover.svg"
inkscape:export-filename="/var/www/games/locusjam/img/cover.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient6315">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6317" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop6319" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6315"
id="linearGradient6321"
x1="-280"
y1="-70.494942"
x2="-277.14285"
y2="912.36218"
gradientUnits="userSpaceOnUse" />
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter4560">
<feFlood
flood-opacity="0.498039"
flood-color="rgb(255,255,255)"
result="flood"
id="feFlood4562" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite4564" />
<feGaussianBlur
in="composite1"
stdDeviation="3"
result="blur"
id="feGaussianBlur4566" />
<feOffset
dx="-0.3"
dy="0.3"
result="offset"
id="feOffset4568" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite4570" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.979899"
inkscape:cx="226.3122"
inkscape:cy="186.93003"
inkscape:document-units="px"
inkscape:current-layer="g6367"
showgrid="false"
inkscape:window-width="1920"
inkscape:window-height="1014"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:window-maximized="1"
units="px" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-802.36214)">
<path
inkscape:connector-curvature="0"
id="path4174"
style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 147.00014,813.27217 0,232.85833 -47.82432,0 c -5.789882,-1.674 -10.280764,-5.08 -10.736068,-13.8668 l 0.122002,-206.42545 c 0.417993,-6.41412 3.212272,-11.10542 10.126066,-12.81008 z m -0.0124,0 0,232.85833 47.82433,0 c 5.78988,-1.674 10.28076,-5.08 10.73607,-13.8668 l -0.122,-206.42545 c -0.418,-6.41412 -3.21227,-11.10542 -10.12607,-12.81008 z" />
<g
id="g6367"
transform="translate(651.26467,-9.2749)">
<rect
style="opacity:1;fill:#031634;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.0999999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
id="rect4508"
width="315.1676"
height="250.51782"
x="-651.26465"
y="812.12933" />
<path
sodipodi:nodetypes="ccccccccc"
inkscape:connector-curvature="0"
id="path4192"
d="m -540.70172,819.94072 94.06264,0.244 c 8.11831,2.01543 9.35351,6.94869 10.12606,12.07808 l -0.122,207.5234 c -0.028,8.3619 -4.3793,12.2404 -10.98007,13.7861 l -92.96463,0.122 c -8.27848,-2.3878 -10.59299,-7.7576 -10.61407,-14.2741 l 0.122,-207.8894 c 0.38804,-6.5656 4.55222,-9.80594 10.37007,-11.59008 z"
style="fill:#151515;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter4560)"
inkscape:export-filename="/var/www/games/locusjam/img/path4192.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<path
inkscape:connector-curvature="0"
id="path4194"
d="m -543.50774,845.92689 99.18667,-0.244 0.122,177.02321 -99.43067,-0.122 z"
style="fill:#1a1a1a;fill-opacity:1;fill-rule:evenodd;stroke:#1a1a1a;stroke-width:1.93239439;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
d="m -81.306641,147.42578 -402.585939,0.99024 a 2.8630065,2.8630065 0 0 0 -2.85547,2.86132 l -0.49804,723.31836 a 2.8630065,2.8630065 0 0 0 2.85937,2.86524 l 403.585939,0.49414 a 2.8630065,2.8630065 0 0 0 2.867187,-2.86524 l -0.501953,-724.80273 a 2.8630065,2.8630065 0 0 0 -2.871094,-2.86133 z"
id="path4245"
style="fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
inkscape:original="M -81.298828 150.28906 L -483.88477 151.2793 L -484.38281 874.59766 L -80.796875 875.0918 L -81.298828 150.28906 z "
inkscape:radius="2.8627203"
sodipodi:type="inkscape:offset"
transform="matrix(0.24154931,0,0,0.24154931,-425.65494,810.35501)" />
<path
sodipodi:type="inkscape:offset"
inkscape:radius="2.8627203"
inkscape:original="M -81.298828 150.28906 L -483.88477 151.2793 L -484.38281 874.59766 L -80.796875 875.0918 L -81.298828 150.28906 z "
style="opacity:0.35;fill:url(#linearGradient6321);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
id="path6313"
d="m -81.306641,147.42578 -402.585939,0.99024 a 2.8630065,2.8630065 0 0 0 -2.85547,2.86132 l -0.49804,723.31836 a 2.8630065,2.8630065 0 0 0 2.85937,2.86524 l 403.585939,0.49414 a 2.8630065,2.8630065 0 0 0 2.867187,-2.86524 l -0.501953,-724.80273 a 2.8630065,2.8630065 0 0 0 -2.871094,-2.86133 z"
transform="matrix(0.24154931,0,0,0.24154931,-425.65494,810.35501)" />
<flowRoot
xml:space="preserve"
id="flowRoot4481"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:25px;line-height:125%;font-family:'EB Garamond';-inkscape-font-specification:'EB Garamond';letter-spacing:0px;word-spacing:0px;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
transform="matrix(0.24154931,0,0,0.24154931,-537.41817,1053.4545)"><flowRegion
id="flowRegion4483"><rect
id="rect4485"
width="577.14288"
height="114.28571"
x="48.571426"
y="-93.352074"
style="fill:#ffffff" /></flowRegion><flowPara
id="flowPara4487"
style="font-size:50px;fill:#ffffff">Black Phone</flowPara></flowRoot> </g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

@ -38,7 +38,7 @@ money = (character, system, amount) ->
system.setQuality("money", character.qualities.money + amount)
code_can_input = (character) ->
return character.sandbox.code.length < 6
return character.sandbox.code.length < 8
code_input = (character, digit) ->
if code_can_input(character)
@ -48,7 +48,11 @@ code_reset = (character) ->
character.sandbox.code = ""
code_check = (character, system) ->
if character.sandbox.code.length >= 6
if character.sandbox.code.length >= 8
# There is an Undum.. let's call it a feature
# that prevents the player from entering "3112".
# You see, you can't select the situation 1 when you are
# already in this situation, so you can't input 1 twice.
if character.sandbox.code == "31122017" or character.sandbox.code == "01012017"
character.sandbox.box_opened = 1
if character.sandbox.knows_the_code == 0

View File

@ -169,7 +169,7 @@ situation "kitchen",
And enough frozen pizzas to last a month.
"""
table: """
TODO [Here the player learns why Ana decided to bolt away]
TODO [Here the player learns why Ana decided to bolt away. Also that the date notation is DD.MM.YYYY. I'm still deciding on the object that would be here, though.]
"""
situation "bathroom",

BIN
img/cover.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB