Inventory Improvements Actual

This commit is contained in:
Lukas Moungos
2019-07-31 22:55:16 +02:00
parent f3d297a2d6
commit 5b5e78a34f
18 changed files with 894 additions and 133 deletions

View File

@@ -127,18 +127,7 @@ h5 {
} }
.pInvWrapper { .pInvWrapper {
background: rgba(0,0,0,0.4); background: rgba(0,0,0,0.6);
height: 395px;
width: 394px;
display: block;
padding: 5px;
position: absolute;
left: 38%;
top: 0;
}
.pInvWrapper {
background: rgba(0,0,0,0.4);
height: 395px; height: 395px;
width: 394px; width: 394px;
display: block; display: block;
@@ -149,7 +138,7 @@ h5 {
} }
.phanWrapper { .phanWrapper {
background: rgba(0,0,0,0.4); background: rgba(0,0,0,0.6);
height: 170px; height: 170px;
width: 394px; width: 394px;
display: block; display: block;
@@ -158,10 +147,20 @@ h5 {
left: 38%; left: 38%;
top: 50%; top: 50%;
} }
.Betrag {
background: rgba(0,0,0,0.6);
height: 100%;
width: 100%;
display: block;
transform: translate(-50%, -50%);
position: absolute;
left: 50%;
top: 50%;
}
#invContainer{ #invContainer {
width: 110%; width: 110%;
height: auto; height: auto;
} }
#handelContainer{ #handelContainer{
width: 110%; width: 110%;
@@ -199,8 +198,8 @@ h5 {
.selected { .selected {
box-shadow: 0px 0px 6px white; box-shadow: 0px 0px 6px white;
border: 1px solid yellow; border: 1px solid yellow;
} }
.common { .common {
@@ -212,13 +211,13 @@ h5 {
text-shadow: 0 0 0 1px black; text-shadow: 0 0 0 1px black;
} }
.uncommon { .fishes {
box-shadow: 0 0 2px 1px #3333ff inset; box-shadow: 0 0 2px 1px #3333ff inset;
} }
.uncommon h3 { .fishes h3 {
color: #3333ff; color: #3333ff;
text-shadow: 0 0 0 1px black; text-shadow: 0 0 0 1px black;
} }
.rare { .rare {
@@ -284,7 +283,7 @@ h5 {
background-color: #313131; /* blau */ background-color: #313131; /* blau */
border: none; border: none;
height: 30px; height: 30px;
width: 124px; width: 100%
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
@@ -293,6 +292,19 @@ h5 {
left: 1.5%; left: 1.5%;
color:#ffffff; color:#ffffff;
} }
#tf_zahl {
background-color: #313131; /* blau */
border: none;
height: 30px;
width: 100%;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 12px;
position: relative;
left: 1.5%;
color: #ffffff;
}
#tf_name { #tf_name {
background-color: #313131; /* blau */ background-color: #313131; /* blau */
border: none; border: none;
@@ -324,4 +336,19 @@ h5 {
left: 1.5%; left: 1.5%;
color: #ffffff; color: #ffffff;
} }
#tf_submitZahl {
background-color: #008CBA; /* blau */
border: none;
height: 32px;
width: 124px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
font-color: white;
position: relative;
left: 1.5%;
color: #ffffff;
}
/* tasks */ /* tasks */

View File

@@ -20,30 +20,18 @@ function setItems(itemIdArr1, itemAmountArr1, money1) {
} }
} }
var holz = {
name: "Holz",
var fish = {
name: "Fisch",
weight: 1,
currentWeight: 1,
dropweight: function () {
var randomweight = Math.floor((Math.random() * 10) + 1);
this.weight = randomweight;
this.currentWeight = randomweight;
},
def: 15,
rarity: 'common', rarity: 'common',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false', selected: 'false',
stackable: 'false', usable: 'true',
amount: 1,
currentWeight: 0.65,
stackable: 'true',
object: 'true', object: 'true',
itemId: 1, itemId: 1,
img: 'package://assets/img/items/fish.svg' img: "package://assets/img/items/wood.svg"
} }
var hamburger = { var hamburger = {
name: "Hamburger", name: "Hamburger",
rarity: 'common', rarity: 'common',
@@ -56,7 +44,6 @@ var hamburger = {
itemId: 2, itemId: 2,
img: "package://assets/img/items/burger.svg" img: "package://assets/img/items/burger.svg"
} }
var cocaine = { var cocaine = {
name: "Koks", name: "Koks",
rarity: 'common', rarity: 'common',
@@ -69,7 +56,6 @@ var cocaine = {
itemId: 3, itemId: 3,
img: "package://assets/img/items/cocaine.svg" img: "package://assets/img/items/cocaine.svg"
} }
var cannabis = { var cannabis = {
name: "Cannabis", name: "Cannabis",
rarity: 'common', rarity: 'common',
@@ -82,10 +68,98 @@ var cannabis = {
itemId: 4, itemId: 4,
img: "package://assets/img/items/cannabis.svg" img: "package://assets/img/items/cannabis.svg"
} }
var flunder = {
name: "Flunder",
weight: 7.7,
currentWeight: 1,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 5,
img: 'package://assets/img/items/flounder.svg'
}
var aal = {
name: "Aal",
weight: 3.6,
currentWeight: 1,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 6,
img: 'package://assets/img/items/aal.svg'
}
var barsch = {
name: "Barsch",
weight: 2.6,
currentWeight: 1,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 7,
img: 'package://assets/img/items/perch.svg'
}
var lachs = {
name: "Lachs",
weight: 4.2,
currentWeight: 1,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 8,
img: 'package://assets/img/items/salmon.svg'
}
var thunfisch = {
name: "Thunfisch",
weight: 11,
currentWeight: 1,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 9,
img: 'package://assets/img/items/salmon.svg'
}
var zander = {
name: "Zander",
weight: 5,
currentWeight: 1,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 10,
img: 'package://assets/img/items/zander.svg'
}
var allItems = [fish, hamburger, cocaine, cannabis]; var allItems = [holz, hamburger, cocaine, cannabis, flunder, aal, barsch, lachs, thunfisch, zander];
//////////////////////// ////////////////////////
// Player Invenotry // // Player Invenotry //
@@ -251,20 +325,12 @@ var commands = {
} }
// Button funktionen
var elemakzeptieren = document.getElementById("buttonakzeptieren");
elemakzeptieren.addEventListener('click', akzeptieren);
var elemablehnen = document.getElementById("buttonablehnen");
elemablehnen.addEventListener('click', ablehnen);
//Handel Akzeptierenfenster //Handel Akzeptierenfenster
function akzeptieren() { $("#buttonakzeptieren").click(function () {
mp.trigger('CEF:acceptTrade'); mp.trigger('CEF:acceptTrade');
} });
function ablehnen() { $("#buttonablehnen").click(function () {
mp.trigger('CEF:declineTrade'); mp.trigger('CEF:declineTrade');
} });

View File

@@ -21,14 +21,16 @@
<button id='buttonwegwerfen' onclick="wegwerfen()">Wegwerfen</button> <button id='buttonwegwerfen' onclick="wegwerfen()">Wegwerfen</button>
<button id='buttonhandeln' onclick="handeln()">Handeln</button> <button id='buttonhandeln' onclick="handeln()">Handeln</button>
</div> </div>
<div class="Betrag" style="display: none;">
<input type="text" id="tf_zahl" name="number" placeholder="Betrag eingeben" min="1" step="1" oninput="this.value=this.value.replace(/[^0-9]/g,'');">
<button id='tf_submitZahl' onclick="submitZahl()">Bestätigen</button>
</div>
<div class="phanWrapper" style="display: none;">
<div class="phanWrapper">
<div><h2> Handel</h2></div> <div><h2> Handel</h2></div>
<div id="handelContainer"> <div id="handelContainer">
</div> </div>
<input type="text" id="tf_betrag" name="fnumber" placeholder="Betrag eingeben" min="1" step="1" oninput="this.value=this.value.replace(/[^0-9]/g,'');"> <input type="text" id="tf_betrag" name="fnumber" placeholder="Betrag eingeben" min="1" step="1" oninput="this.value=this.value.replace(/[^0-9]/g,'');">
<input type="text" id="tf_name" placeholder="Spielername"> <input type="text" id="tf_name" placeholder="Spielername">
<button id='tf_submit' onclick="submit()">Handeln</button> <button id='tf_submit' onclick="submit()">Handeln</button>

View File

@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
<g>
<path style="fill:#8D674E;" d="M41.29,224.179L8.258,257.211l27.886,7.27l0.039,0.035c5.107-40.338,100.013-10.773,128.978-7.305
c6.836,0.818,33.703-14.693,41.29-24.774L41.29,224.179z"/>
<path style="fill:#8D674E;" d="M322.065,174.63C137.979,177.382,0,149.856,0,229.856l355.097-30.452
C351.966,193.145,331.411,174.49,322.065,174.63z"/>
</g>
<path style="fill:#AF874B;" d="M404.645,191.146c-85.809,10.801-291.784,0-322.065,0C30.968,191.146,0,207.663,0,232.437
s33.032,41.29,33.032,41.29c-8.258-16.516,1.046-37.423,16.516-41.29c39.226-9.806,163.784,16.516,264.258,16.516
c172.731,0,188.589-24.006,198.194-41.29C512,207.663,503.053,178.759,404.645,191.146z"/>
<path style="fill:#96735A;" d="M410.079,222.25C474.865,216.943,512,207.663,512,207.663s-8.947-28.903-107.355-16.516
c-85.809,10.801-291.784,0-322.065,0C30.968,191.146,0,207.663,0,232.437c0,14.417,11.171,26.004,20.523,33.199
c-12.265-24.941-4.139-50.511,29.026-55.588c45.934-7.031,123.573,9.768,206.451,14.131c52.972,2.788,99.344,1.809,137.549-0.709
c1.096,8.192,4.331,15.736,9.659,22.581c7.666-0.588,14.798-1.254,21.368-1.994C416.318,237.564,411.447,230.265,410.079,222.25z"/>
<path style="fill:#8D674E;" d="M36.125,264.473C15.488,255.32,0,245.704,0,232.437c0,49.548,35.784,67.097,78.881,75.899
c32.967,6.733,60.989,31.456,60.989,31.456c0-40.421-62.283-56.931-103.726-75.31C36.145,264.481,34.404,263.397,36.125,264.473z"/>
<circle style="fill:#464655;" cx="457.29" cy="204.047" r="8.258"/>
<path style="fill:#8D674E;" d="M340.3,210.759c0,0,2.065,22.366,16.172,25.806l44.731-10.666l-2.065-11.011L340.3,210.759z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 47 KiB

View File

@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
<path style="fill:#AFAA8C;" d="M462.453,313.807c-2.681,11.608-61.936,102.194-217.807,102.194
c-108.387,0-98.317-134.41-128.126-134.41v-51.18C146.329,230.41,136.258,96,244.646,96c146.246,0,218.839,83.613,221.52,95.22
L462.453,313.807z"/>
<g>
<path style="fill:#968769;" d="M272.517,97.06c-5.388-0.408-10.9-0.69-16.516-0.859v319.593c5.624-0.163,11.156-0.409,16.516-0.802
V97.06z"/>
<path style="fill:#968769;" d="M206.452,102.934c-6.038,2.43-11.541,5.398-16.516,8.851v288.432
c4.976,3.454,10.478,6.421,16.516,8.851V102.934z"/>
<path style="fill:#968769;" d="M239.484,96.203c-5.853,0.243-11.361,0.872-16.516,1.882v315.831
c5.155,1.011,10.663,1.639,16.516,1.882V96.203z"/>
<path style="fill:#968769;" d="M173.42,126.619c-6.572,7.506-11.966,15.878-16.516,24.537v209.688
c4.55,8.66,9.944,17.031,16.516,24.537V126.619z"/>
<path style="fill:#968769;" d="M454.194,328.245c5.062-6.949,7.739-12.189,8.258-14.438l3.713-122.587
c-0.589-2.554-4.573-8.598-11.971-16.466V328.245z"/>
<path style="fill:#968769;" d="M140.387,320.702V191.297c-5.684,16.304-10.225,29.926-16.516,35.876v57.653
C130.163,290.776,134.704,304.398,140.387,320.702z"/>
<path style="fill:#968769;" d="M404.646,136.559c-5.18-3.01-10.675-5.976-16.516-8.855V383.21
c5.882-3.149,11.396-6.397,16.516-9.705V136.559z"/>
<path style="fill:#968769;" d="M305.549,101.161c-5.363-0.933-10.881-1.734-16.516-2.43v314.617
c5.669-0.69,11.162-1.513,16.516-2.442V101.161z"/>
<path style="fill:#968769;" d="M437.678,159.408c-4.875-4.03-10.38-8.212-16.516-12.427v214.716
c6.252-4.924,11.767-9.813,16.516-14.495V159.408z"/>
<path style="fill:#968769;" d="M371.614,120.218c-5.277-2.197-10.792-4.291-16.516-6.283v283.971
c5.765-2.092,11.266-4.317,16.516-6.642V120.218z"/>
<path style="fill:#968769;" d="M338.581,108.7c-5.334-1.523-10.844-2.93-16.516-4.222v303.155
c5.721-1.316,11.188-2.797,16.516-4.359V108.7z"/>
</g>
<path style="fill:#A59673;" d="M0,256.001c0,37.161,24.774,57.807,24.774,57.807s19.613-33.032,82.581-33.032
s60.903,99.097,165.162,99.097c120.711,0,206.099-77.541,233.336-108.259c3.357-3.786,2.463-9.65-1.806-12.364
c-7.245-4.608-16.82-10.825-16.82-11.506c0-18.065,24.774-24.774,24.774-24.774c-13.421-8.26-107.356-90.839-239.483-90.839
c-104.258,0-102.194,99.097-165.162,99.097s-82.581-33.032-82.581-33.032S0,218.839,0,256.001"/>
<path style="fill:#968769;" d="M512,222.968c-9.83-6.049-62.888-51.94-142.474-76.079c25.599,13.143,76.41,47.46,76.41,113.117
v6.939c0,41.138-25.551,68.313-49.554,84.831c55.428-25.722,93.972-62.502,110.18-80.972c2.971-3.386,2.191-8.569-1.611-10.982
c-7.324-4.647-17.725-11.371-17.725-12.081C487.227,229.678,512,222.968,512,222.968z"/>
<g>
<circle style="fill:#464655;" cx="454.194" cy="214.71" r="8.258"/>
<circle style="fill:#464655;" cx="462.453" cy="247.742" r="8.258"/>
</g>
<path style="fill:#AFAA8C;" d="M82.581,256.001c0-9.099,1.416-17.865,4.015-26.105c-46.588-6.131-61.822-31.702-61.822-31.702
S0,218.839,0,256.001s24.774,57.807,24.774,57.807s15.234-25.571,61.822-31.702C83.997,273.865,82.581,265.099,82.581,256.001z"/>
<g>
<path style="fill:#968769;" d="M33.032,256.001c0-12.338,23.031-20.068,34.689-30.075c-31.871-9.313-42.947-27.732-42.947-27.732
S0,218.839,0,256.001s24.774,57.807,24.774,57.807s11.076-18.42,42.947-27.732C56.063,276.069,33.032,268.338,33.032,256.001z"/>
<path style="fill:#968769;" d="M371.533,271.363c-0.637-4.492-4.798-7.645-9.29-7.032c-4.524,0.621-7.685,4.782-7.073,9.299
c0.105,0.766,2.718,18.919,17.411,37.992c8.11,10.534,21.058,22.631,41.071,31.527c6.446-3.459,12.619-7.035,18.512-10.684
C378.844,315.595,371.836,273.447,371.533,271.363z"/>
<path style="fill:#968769;" d="M395.339,247.806c-4.524,0.581-7.718,4.717-7.145,9.242c0.075,0.554,6.934,47.127,58.364,66.018
c5.867-4.036,11.428-8.091,16.597-12.097c-51.671-12.435-58.288-53.922-58.581-56.042
C403.984,250.419,399.872,247.315,395.339,247.806z"/>
<circle style="fill:#968769;" cx="280.775" cy="305.549" r="16.516"/>
<circle style="fill:#968769;" cx="309.678" cy="202.323" r="12.387"/>
<circle style="fill:#968769;" cx="202.323" cy="235.355" r="12.387"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -0,0 +1,82 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
<g>
<path style="fill:#9B9673;" d="M371.645,136.385c-24.776,0-99.105-8.259-132.14,66.07h181.693
C421.198,185.937,394.78,136.385,371.645,136.385z"/>
<path style="fill:#9B9673;" d="M189.953,169.42c-13.077,0-51.617,11.012-57.811,41.294l66.07,8.259l33.035-16.518
C231.246,202.455,198.211,169.42,189.953,169.42z"/>
</g>
<g>
<path style="fill:#D7BC84;" d="M305.575,326.336c0,0,7.584,49.688,8.259,49.553c41.294-8.259,66.07-49.553,66.07-49.553H305.575z"
/>
<path style="fill:#D7BC84;" d="M222.988,301.56h-57.811c0,0,4.818,49.553,8.259,49.553c23.399,0,58.844-22.712,66.07-42.326
L222.988,301.56z"/>
</g>
<path style="fill:#AFAA8C;" d="M503.786,252.007c-17.894-13.077-54.101-38.774-74.329-57.811
c-23.399-22.024-66.07-24.776-107.364-24.776c-39.917,0-45.423,17.205-90.846,24.776c-42.09,7.015-66.933,37.379-99.105,49.553
c-50.929,19.27-110.116-2.065-132.14,24.776c0,0,49.553,24.088,49.553,33.035c0,8.946-8.259,57.123-8.259,57.811
c0,6.541,35.155-21.311,57.811-57.811c12.388-19.959,39.917-30.283,74.329-16.518c21.857,8.743,40.208,21.893,74.329,33.035
c67.446,22.023,152.134,15.648,181.693,8.259c21.794-5.449,57.39-18.662,69.91-31.442c3.573-3.647,0.666-9.852-4.44-9.852h-32.435
c4.818-4.818,9.98-8.259,16.518-8.259c0,0,13.421,0,19.356,0C505.85,276.784,521.679,265.083,503.786,252.007z"/>
<path style="fill:#FFCD7D;" d="M406.865,330.276c-11.552-7.797-26.961-12.198-43.478-45.233c0,0-115.623-24.776-224.778-6.106
c10.401-0.749,22.141,1.031,34.826,6.106c21.857,8.743,40.208,21.893,74.329,33.035
C302.283,335.879,368.037,335.122,406.865,330.276z"/>
<path style="fill:#87966E;" d="M503.786,252.007c-8.523-6.228-21.222-15.348-34.348-25.22c-13.776,0.272-39.254,4.408-54.692,29.35
c0,0,22.97,20.647,80.781,20.647c1.121,0,2.08-0.022,3.158-0.028C506.282,276.448,521.441,264.908,503.786,252.007z"/>
<circle style="fill:#464655;" cx="462.492" cy="252.006" r="8.259"/>
<path style="fill:#87966E;" d="M397.01,254.402c6.285-8.731,24.188-35.43,56.523-39.864c-8.927-7.042-17.399-14.057-24.077-20.342
c-23.399-22.024-66.07-24.776-107.364-24.776c-39.917,0-45.423,17.205-90.846,24.776c-42.09,7.015-66.933,37.379-99.105,49.553
C81.212,263.018,22.024,241.684,0,268.525c0,0,49.553,24.088,49.553,33.035c79.453-71.509,322.092-49.553,322.092-49.553
c0.088,0.638,8.259,49.553,60.395,73.652c7.551-1.997,16.428-4.796,25.359-8.132C412.018,306.845,399.738,266.722,397.01,254.402z"
/>
<path style="fill:#9B9673;" d="M94.026,251.872c-39.498,3.58-77.378-3.635-94.025,16.653c0,0,49.553,24.088,49.553,33.035
c0,8.946-8.259,57.123-8.259,57.811c0,6.541,35.155-21.311,57.811-57.811c2.257-3.635,5.028-6.94,8.238-9.849
C92.028,276.97,91.468,262.998,94.026,251.872z"/>
<g>
<path style="fill:#5C6661;" d="M270.592,279.65l16.435-104.089c-12.489,4.742-23.565,11.245-42.967,15.987l13.911,88.102
C259.106,286.84,269.457,286.84,270.592,279.65z"/>
<path style="fill:#5C6661;" d="M322.093,169.42c-5.759,0-10.745,0.391-15.294,1.026l17.243,109.204
c1.136,7.19,11.486,7.19,12.621,0l17.27-109.377C343.458,169.623,332.736,169.42,322.093,169.42z"/>
<path style="fill:#5C6661;" d="M204.522,279.65l12.973-82.17c-13.341,4.094-24.954,10.403-35.847,17.239l10.252,64.929
C193.036,286.84,203.386,286.84,204.522,279.65z"/>
<path style="fill:#5C6661;" d="M145.063,237.775c-4.214,2.256-8.495,4.298-12.923,5.973c-3.763,1.424-7.578,2.568-11.414,3.585
l5.103,32.317c0.092,0.58,0.328,1.035,0.53,1.522c3.823-1.141,7.886-1.919,12.203-2.234L145.063,237.775z"/>
<path style="fill:#5C6661;" d="M397.01,254.402c2.357-3.275,6.348-9.075,12.121-15.282l8.443-53.47
c-12.372-7.156-27.707-11.213-44.43-13.458l16.968,107.457c1.136,7.19,11.486,7.19,12.621,0l0.958-6.065
C399.881,265.546,397.908,258.458,397.01,254.402z"/>
</g>
<path style="fill:#D7BC84;" d="M378.982,273.557c-16.843-2.964-41.681-6.896-54.871-6.896c0,0-8.259,24.776,8.636,37.814
c11.164,8.615,43.377-0.873,65.677-2.639C389.199,292.187,383.039,282.108,378.982,273.557z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512.002 512.002" style="enable-background:new 0 0 512.002 512.002;" xml:space="preserve">
<g>
<path style="fill:#B4CBDC;" d="M198.195,305.55c-20.129,22.194-49.548,33.032-49.548,33.032l-33.032-41.29l16.516-8.258
L198.195,305.55z"/>
<path style="fill:#B4CBDC;" d="M242.237,319.313c-32,8.258-18.168,35.785-18.168,35.785s30.108-5.592,34.408-34.408
L242.237,319.313z"/>
</g>
<g>
<path style="fill:#7DA0BE;" d="M132.13,222.969l-8.258-16.516c0,0,12.812-5.016,24.774,0c10.666,4.473,16.516,16.516,16.516,16.516
H132.13z"/>
<path style="fill:#7DA0BE;" d="M313.808,200.259c0,0-23.226-24.387-49.548-43.355c0,0-16.516,16.516-49.548,30.968l24.774,18.581
L313.808,200.259z"/>
</g>
<path style="fill:#EBF5FA;" d="M512.001,239.485c-20.645,6.194-33.032,33.032-33.032,33.032h33.032
c-19.269,15.828-88.086,49.548-165.162,49.548s-147.269,5.505-222.968-33.032C66.239,259.693,67.097,322.066,0,322.066
c0,0,16.516-42.323,16.516-66.065c0-23.742-16.515-66.065-16.515-66.065c67.097,0,65.032,59.871,123.871,33.032
s203.355-33.032,231.226-33.032S485.163,226.066,512.001,239.485z"/>
<g>
<path style="fill:#CFE0EB;" d="M478.97,272.517c0,0,12.387-26.839,33.032-33.032c-13.137-6.568-44.329-18.567-76.019-29.117
c-41.552,50.048-28.587,84.728-16.667,102.393c44.78-11.157,79.815-29.671,92.686-40.244H478.97z"/>
<path style="fill:#CFE0EB;" d="M84.211,273.429c-10.629,0-19.96-0.508-27.661-1.694l2.517-16.322
c28.976,4.459,85.847-1.637,146.048-8.065c87.129-9.322,177.234-18.96,213.549-0.798l-7.387,14.774
c-31.976-15.992-123.588-6.185-204.403,2.443C160.735,268.702,116.517,273.429,84.211,273.429z"/>
</g>
<path style="fill:#B4CBDC;" d="M396.389,280.775c0,0-41.29,0-57.807,0c-29.936,0,16.516,24.774,24.774,24.774
c5.885,0,49.548-8.258,49.548-8.258L396.389,280.775z"/>
<path style="fill:#96BEE1;" d="M355.099,189.936c-27.871,0-172.387,6.194-231.226,33.032S67.098,189.936,0.001,189.936
c0,0,16.516,42.323,16.516,66.065c0,0.853-0.065,1.779-0.107,2.678c103.16,17.238,157.011-30.804,322.173-30.804
c29.356,0,49.937,5.721,71.559,15.079c-10.72,14.989-13.401,26.992-13.592,27.941c-0.105,0.533-0.161,1.081-0.161,1.621
c0,17.914,8.236,31.745,18.244,41.413c6.853-1.601,13.433-3.408,19.816-5.316c-9.504-6.083-21.143-17.605-21.537-35.177
c0.683-2.587,3.737-12.055,12.533-23.479c3.959,1.918,8.019,3.936,12.234,6.043c33.032,16.516,49.548-16.516,74.323-16.516
C485.163,226.066,382.97,189.936,355.099,189.936z"/>
<circle style="fill:#464655;" cx="462.454" cy="247.743" r="8.258"/>
<path style="fill:#7DA0BE;" d="M82.537,283.945c-7.201-5.298-16.472-14.677-16.472-27.944c0-13.776,9.992-23.365,17.286-28.538
c-23.482-8.632-36.72-37.527-83.351-37.527c0,0,16.516,42.323,16.516,66.065c0,23.742-16.516,66.065-16.516,66.065
C45.734,322.066,59.905,293.108,82.537,283.945z"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">
<g>
<path style="fill:#6E8C96;" d="M189.936,276.52c3.097,11.355-3.097,42.839-16.516,57.807c-0.487,0.543,49.548,0,74.323-33.032
L189.936,276.52z"/>
<path style="fill:#6E8C96;" d="M330.323,317.809c7.226,10.581,8,41.548,8,41.548c13.419-8.258,24.258-29.419,25.821-33.559
L330.323,317.809z"/>
<path style="fill:#6E8C96;" d="M371.614,210.455c0-15.484-10.065-45.419-24.774-57.807c-0.526-0.444,0,24.774-49.548,33.032
c-45.419,7.57-41.29,24.774-41.29,24.774s-35.784-33.032-57.807-33.032c0,0,23.397,21.333,8.258,49.548L371.614,210.455z"/>
<path style="fill:#6E8C96;" d="M0,177.423c0,0,41.29,60.559,41.29,82.581C41.29,282.025,0,342.585,0,342.585
c35.784-7.571,82.581-74.323,82.581-74.323v-16.516C82.581,251.746,35.784,184.993,0,177.423z"/>
</g>
<path style="fill:#91D7CD;" d="M512,251.746c0,0-75.01-57.807-156.904-57.807c-130.746,0-212.637,57.8-272.507,57.807h-0.008
c-4.561,0-8.258,3.697-8.258,8.258c0,4.561,3.698,8.258,8.258,8.258l0,0c59.871,0,141.763,57.807,272.517,57.807
c81.892,0,134.194-41.29,156.904-41.29l-24.774-16.516L512,251.746z"/>
<path style="fill:#B7E6E7;" d="M355.098,326.068c16.879,0,32.426-1.812,46.79-4.597l-22.016-28.435
c-107.355,16.516-90.839-41.29-202.615-0.863C224.445,308.082,282.155,326.068,355.098,326.068z"/>
<path style="fill:#73B4C8;" d="M417.888,283.156c-6.113-16.702,0.29-31.759,2.403-35.976c0.52-1.041,1.365-2.329,2.129-3.655
c23.674,4.117,48.421,8.22,89.582,8.22c0,0-75.01-57.807-156.904-57.807c-130.746,0-212.637,57.8-272.507,57.807h-0.009
c-4.561,0-8.258,3.697-8.258,8.258c41.29,0,173.42-24.774,264.259-24.774c15.654,0,28.659,0.758,40.342,1.915
c-7.904,19.336-14.655,60.054,10.771,86.361c7.249-1.04,14.28-2.293,20.947-3.822c-0.214-0.17-0.314-0.423-0.551-0.575
c-38.944-24.831-14.371-79.113-14.081-79.637c0.045-0.084,0.039-0.178,0.082-0.262c3.075,0.442,6.091,0.901,9.058,1.381
c-3.124,6.504-10.859,26.151-2.77,48.244c3.843,10.487,10.707,19.742,20.288,27.795c6.836-1.899,13.268-3.99,19.419-6.15
C429.894,302.812,421.742,293.677,417.888,283.156z"/>
<path style="fill:#6E8C96;" d="M239.484,235.23c-0.452,0.248,57.807,33.032,82.581,41.29c14.697,4.899,33.032,0,33.032,0
s0-16.516,8.258-24.774C363.356,251.746,269.678,218.714,239.484,235.23z"/>
<circle style="fill:#464655;" cx="450.065" cy="247.619" r="12.387"/>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1 @@
<svg height="512" viewBox="0 0 512 512" width="512" xmlns="http://www.w3.org/2000/svg"><path d="m432 256h-352v128h352c30.928 0 56-28.654 56-64s-25.072-64-56-64z" fill="#836e59"/><path d="m176 296h-48a8 8 0 0 1 0-16h48a8 8 0 0 1 0 16z" fill="#74624f"/><path d="m168 328h-32a8 8 0 0 1 0-16h32a8 8 0 0 1 0 16z" fill="#74624f"/><path d="m152 360h-24a8 8 0 0 1 0-16h24a8 8 0 0 1 0 16z" fill="#74624f"/><path d="m275.045 256h-195.045v16h232c-9.866-9.929-22.776-16-36.955-16z" fill="#7a6753"/><ellipse cx="80" cy="320" fill="#e0a981" rx="56" ry="64"/><path d="m80 360a26.564 26.564 0 0 1 -11.414-2.586 8 8 0 0 1 6.828-14.469 10.679 10.679 0 0 0 4.586 1.055c8.672 0 16-10.992 16-24a33.826 33.826 0 0 0 -.617-6.488 8 8 0 0 1 15.719-3.024 50.837 50.837 0 0 1 .898 9.512c0 22.055-14.352 40-32 40z" fill="#be906e"/><path d="m87.992 297.82a7.986 7.986 0 0 1 -3.406-.765 10.691 10.691 0 0 0 -4.586-1.055 8 8 0 0 1 0-16 26.561 26.561 0 0 1 11.414 2.586 8 8 0 0 1 -3.422 15.234z" fill="#be906e"/><path d="m56.75 336a8.012 8.012 0 0 1 -7.852-6.488 50.829 50.829 0 0 1 -.898-9.512 48.628 48.628 0 0 1 3.867-19.18 8 8 0 0 1 14.688 6.36 32.453 32.453 0 0 0 -2.555 12.82 33.837 33.837 0 0 0 .617 6.489 8.008 8.008 0 0 1 -6.343 9.367 8.148 8.148 0 0 1 -1.524.144z" fill="#be906e"/><path d="m432 256h-208v128h208c30.928 0 56-28.654 56-64s-25.072-64-56-64z" fill="#8e7760"/><path d="m368 128h-216v128h216c30.928 0 56-28.654 56-64s-25.072-64-56-64z" fill="#8e7760"/><g fill="#74624f"><path d="m240 232h-40a8 8 0 0 1 0-16h40a8 8 0 0 1 0 16z"/><path d="m288 232h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 0 16z"/><path d="m419.585 216.945a7.815 7.815 0 0 0 -3.585-.945h-96a8 8 0 0 0 0 16h91.677a66.349 66.349 0 0 0 7.908-15.055z"/><path d="m240 168h-40a8 8 0 0 1 0-16h40a8 8 0 0 1 0 16z"/><path d="m288 168h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 0 16z"/><path d="m419.585 167.055a66.349 66.349 0 0 0 -7.908-15.055h-91.677a8 8 0 0 0 0 16h96a7.815 7.815 0 0 0 3.585-.945z"/><path d="m304 200h-96a8 8 0 0 1 0-16h96a8 8 0 0 1 0 16z"/><path d="m352 200h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 0 16z"/><path d="m424 192a73.417 73.417 0 0 0 -.483-8h-39.517a8 8 0 0 0 0 16h39.517a73.417 73.417 0 0 0 .483-8z"/><path d="m328 360h-56a8 8 0 0 1 0-16h56a8 8 0 0 1 0 16z"/><path d="m376 360h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 0 16z"/><path d="m483.585 344.945a7.815 7.815 0 0 0 -3.585-.945h-72a8 8 0 0 0 0 16h67.677a66.349 66.349 0 0 0 7.908-15.055z"/><path d="m320 296h-48a8 8 0 0 1 0-16h48a8 8 0 0 1 0 16z"/><path d="m368 296h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 0 16z"/><path d="m483.585 295.055a66.349 66.349 0 0 0 -7.908-15.055h-75.677a8 8 0 0 0 0 16h80a7.815 7.815 0 0 0 3.585-.945z"/><path d="m360 328h-80a8 8 0 0 1 0-16h80a8 8 0 0 1 0 16z"/><path d="m408 328h-16a8 8 0 0 1 0-16h16a8 8 0 0 1 0 16z"/><path d="m488 320a73.417 73.417 0 0 0 -.483-8h-47.517a8 8 0 0 0 0 16h47.517a73.417 73.417 0 0 0 .483-8z"/></g><path d="m248 88h16v16h-16z" fill="#fbeebd"/><path d="m216 88h16v16h-16z" fill="#fbeebd"/><path d="m280 88h40v16h-40z" fill="#fbeebd"/><ellipse cx="152" cy="192" fill="#e0a981" rx="56" ry="64"/><path d="m152 232a26.564 26.564 0 0 1 -11.414-2.586 8 8 0 0 1 6.828-14.469 10.679 10.679 0 0 0 4.586 1.055c8.672 0 16-10.992 16-24a33.826 33.826 0 0 0 -.617-6.488 8 8 0 0 1 15.719-3.024 50.837 50.837 0 0 1 .898 9.512c0 22.055-14.352 40-32 40z" fill="#be906e"/><path d="m159.992 169.82a7.986 7.986 0 0 1 -3.406-.765 10.679 10.679 0 0 0 -4.586-1.055 8 8 0 0 1 0-16 26.564 26.564 0 0 1 11.414 2.586 8 8 0 0 1 -3.422 15.234z" fill="#be906e"/><path d="m128.75 208a8.012 8.012 0 0 1 -7.852-6.488 50.837 50.837 0 0 1 -.898-9.512 48.628 48.628 0 0 1 3.867-19.18 8 8 0 0 1 14.688 6.36 32.453 32.453 0 0 0 -2.555 12.82 33.826 33.826 0 0 0 .617 6.488 8.008 8.008 0 0 1 -6.344 9.367 8.132 8.132 0 0 1 -1.523.145z" fill="#be906e"/><path d="m432 256h-208v16h244.955c-9.866-9.929-22.776-16-36.955-16z" fill="#836e59"/><ellipse cx="224" cy="320" fill="#e0a981" rx="56" ry="64"/><path d="m224 360a26.564 26.564 0 0 1 -11.414-2.586 8 8 0 0 1 6.828-14.469 10.679 10.679 0 0 0 4.586 1.055c8.672 0 16-10.992 16-24a33.826 33.826 0 0 0 -.617-6.488 8 8 0 0 1 15.719-3.024 50.837 50.837 0 0 1 .898 9.512c0 22.055-14.352 40-32 40z" fill="#be906e"/><path d="m231.992 297.82a7.986 7.986 0 0 1 -3.406-.765 10.679 10.679 0 0 0 -4.586-1.055 8 8 0 0 1 0-16 26.564 26.564 0 0 1 11.414 2.586 8 8 0 0 1 -3.422 15.234z" fill="#be906e"/><path d="m200.75 336a8.012 8.012 0 0 1 -7.852-6.488 50.837 50.837 0 0 1 -.898-9.512 48.628 48.628 0 0 1 3.867-19.18 8 8 0 0 1 14.688 6.36 32.453 32.453 0 0 0 -2.555 12.82 33.826 33.826 0 0 0 .617 6.488 8.008 8.008 0 0 1 -6.344 9.367 8.132 8.132 0 0 1 -1.523.145z" fill="#be906e"/></svg>

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 512.002 512.002" style="enable-background:new 0 0 512.002 512.002;" xml:space="preserve">
<g>
<path style="fill:#E6D7B9;" d="M371.689,301.388c0,16.504-8.252,33.009-33.009,41.261c0,0-8.252,0-16.504-16.504l33.009-24.756
H371.689z"/>
<path style="fill:#E6D7B9;" d="M190.141,293.136c-74.269,16.504-10.845,49.513,8.252,49.513c8.252,0,36.447-23.381,49.513-33.009
L190.141,293.136z"/>
<path style="fill:#E6D7B9;" d="M355.184,169.353c0,0-90.774,0-107.278,57.765l123.782-16.504
C371.689,194.11,355.184,169.353,355.184,169.353z"/>
<path style="fill:#E6D7B9;" d="M214.898,194.11c-8.813,0-66.017,16.504-90.774,33.009l13.887,15.124l118.147-6.872
C256.158,235.37,231.402,194.11,214.898,194.11z"/>
<path style="fill:#E6D7B9;" d="M33.35,268.379c0,5.673-9.284,11.347-16.504,16.504c-20.65,14.751-16.504,33.009-16.504,33.009
c32.321,0,72.206-24.756,115.53-24.756c74.269,0,86.679,22.92,140.287,24.756c121.009,4.144,218.042-35.665,251.504-51.47
c5.73-2.707,5.812-10.84,0.088-13.559c-33.189-15.76-122.59-50.501-144.314-50.501c-68.768,0-185.674,41.261-247.565,41.261
c-43.324,0-83.21-24.756-115.53-24.756c0,0-4.146,18.258,16.504,33.009C24.066,257.032,33.35,262.706,33.35,268.379z"/>
</g>
<path style="fill:#EBE6CD;" d="M256.158,317.892c60.487,2.071,114.982-6.839,158.544-18.245
c-43.013-47.772-224.561-23.015-307.082-6.512c-0.777,0.156-1.439,0.339-2.198,0.511c3.463-0.299,6.941-0.511,10.45-0.511
C190.141,293.136,202.55,316.056,256.158,317.892z"/>
<g>
<path style="fill:#BEB4A0;" d="M507.749,252.863c-33.189-15.76-122.59-50.501-144.314-50.501
c-68.767,0-185.674,41.261-247.565,41.261c-21.788,0-42.702-6.259-62.225-12.486c-3.129,10.77,0.334,21.609,20.965,28.99
c63.438,22.693,213.009-37.135,288.826-37.135c13.512,0,25.683,5.883,36.937,13.881c-5.806,6.824-12.18,15.936-12.18,23.254
c0,2.192,0.871,4.287,2.418,5.834c1.052,1.052,16.525,16.374,36.242,30.323c7.155-2.041,13.992-4.114,20.44-6.211
c-17.851-10.935-34.55-25.888-41.549-32.462c1.45-2.689,4.301-6.554,7.61-10.447c21.523,18.681,39.737,40.443,57.672,34.635
c15.802-5.922,28.231-11.41,36.636-15.379C513.392,263.715,513.474,255.58,507.749,252.863z"/>
<path style="fill:#BEB4A0;" d="M313.923,260.127c0,41.261,57.765,28.367,57.765,28.367c-8.252-11.862,0-28.367,0-28.367
L313.923,260.127L313.923,260.127z"/>
</g>
<circle style="fill:#464655;" cx="454.21" cy="251.877" r="8.252"/>
<path style="fill:#BEB4A0;" d="M86.995,240.344c-32.132-6.713-61.66-21.478-86.654-21.478c0,0-4.147,18.258,16.504,33.009
c7.221,5.158,16.504,10.831,16.504,16.504s-9.284,11.347-16.504,16.504c-20.651,14.75-16.504,33.009-16.504,33.009
c24.948,0,54.417-14.715,86.483-21.443C72.016,277.12,77.628,253.608,86.995,240.344z"/>
<g>
<path style="fill:#9B8C7D;" d="M346.932,235.37c4.561,0,8.252-3.691,8.252-8.252v-24.473c-5.295,0.224-10.776,0.61-16.504,1.209
v23.264C338.68,231.68,342.371,235.37,346.932,235.37z"/>
<path style="fill:#9B8C7D;" d="M313.923,239.843c4.561,0,8.252-3.691,8.252-8.252v-25.664c-5.392,0.794-10.891,1.683-16.504,2.679
v22.985C305.671,236.151,309.362,239.843,313.923,239.843z"/>
<path style="fill:#9B8C7D;" d="M148.88,274.222c4.561,0,8.252-3.691,8.252-8.252v-26.384c-5.695,0.923-11.211,1.714-16.504,2.346
v24.039C140.628,270.531,144.319,274.222,148.88,274.222z"/>
<path style="fill:#9B8C7D;" d="M124.124,268.379V243.31c-2.8,0.14-5.64,0.313-8.252,0.313c-2.766,0-5.516-0.106-8.252-0.294v25.05
c0,4.561,3.691,8.252,8.252,8.252S124.124,272.939,124.124,268.379z"/>
<path style="fill:#9B8C7D;" d="M371.689,203.374v23.745c0,4.561,3.691,8.252,8.252,8.252s8.252-3.691,8.252-8.252V207.4
C381.84,205.587,376.281,204.222,371.689,203.374z"/>
<path style="fill:#9B8C7D;" d="M289.167,238.118v-26.407c-5.448,1.082-10.957,2.22-16.504,3.403v23.004
c0,4.561,3.691,8.252,8.252,8.252C285.476,246.371,289.167,242.68,289.167,238.118z"/>
<path style="fill:#9B8C7D;" d="M181.889,268.379c4.561,0,8.252-3.691,8.252-8.252v-26.77c-5.602,1.17-11.109,2.271-16.504,3.299
v23.471C173.637,264.687,177.328,268.379,181.889,268.379z"/>
<path style="fill:#9B8C7D;" d="M256.158,218.709c-5.498,1.22-11.002,2.457-16.504,3.702v21.21c0,4.561,3.691,8.252,8.252,8.252
c4.561,0,8.252-3.691,8.252-8.252V218.709z"/>
<path style="fill:#9B8C7D;" d="M214.898,260.127c4.561,0,8.252-3.691,8.252-8.252V226.14c-5.546,1.251-11.047,2.476-16.504,3.676
v22.057C206.645,256.436,210.336,260.127,214.898,260.127z"/>
<path style="fill:#9B8C7D;" d="M16.435,314.237c-0.018-0.075-1.027-8.046,10.003-15.925l2.636-1.854
c9.258-6.466,20.78-14.51,20.78-28.081c0-13.57-11.522-21.616-20.78-28.081l-2.636-1.854c-9.858-7.041-10.104-14.062-9.927-16.136
l0.334-0.943v-0.628c-5.679-1.107-11.214-1.871-16.504-1.871c0,0-4.147,18.258,16.504,33.009
c7.221,5.158,16.504,10.831,16.504,16.504c0,5.673-9.284,11.347-16.504,16.504C-3.806,299.632,0.34,317.891,0.34,317.891
c5.29,0,10.823-0.763,16.5-1.87L16.435,314.237z"/>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
<g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -20,29 +20,18 @@ function setItems(itemIdArr1, itemAmountArr1) {
} }
var holz = {
var fish = { name: "Holz",
name: "Fisch",
weight: 1,
currentWeight: 1,
dropweight: function () {
var randomweight = Math.floor((Math.random() * 10) + 1);
this.weight = randomweight;
this.currentWeight = randomweight;
},
def: 15,
rarity: 'common', rarity: 'common',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false', selected: 'false',
stackable: 'false', usable: 'true',
amount: 1,
currentWeight: 0.65,
stackable: 'true',
object: 'true', object: 'true',
itemId: 1, itemId: 1,
img: 'package://assets/img/items/fish.svg' img: "package://assets/img/items/wood.svg"
} }
var hamburger = { var hamburger = {
name: "Hamburger", name: "Hamburger",
rarity: 'common', rarity: 'common',
@@ -55,7 +44,6 @@ var hamburger = {
itemId: 2, itemId: 2,
img: "package://assets/img/items/burger.svg" img: "package://assets/img/items/burger.svg"
} }
var cocaine = { var cocaine = {
name: "Koks", name: "Koks",
rarity: 'common', rarity: 'common',
@@ -68,7 +56,6 @@ var cocaine = {
itemId: 3, itemId: 3,
img: "package://assets/img/items/cocaine.svg" img: "package://assets/img/items/cocaine.svg"
} }
var cannabis = { var cannabis = {
name: "Cannabis", name: "Cannabis",
rarity: 'common', rarity: 'common',
@@ -81,8 +68,98 @@ var cannabis = {
itemId: 4, itemId: 4,
img: "package://assets/img/items/cannabis.svg" img: "package://assets/img/items/cannabis.svg"
} }
var flunder = {
name: "Flunder",
weight: 7.7,
currentWeight: 7.7,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 5,
img: 'package://assets/img/items/flounder.svg'
}
var aal = {
name: "Aal",
weight: 3.6,
currentWeight: 3.6,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 6,
img: 'package://assets/img/items/aal.svg'
}
var barsch = {
name: "Barsch",
weight: 2.6,
currentWeight: 2.6,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 7,
img: 'package://assets/img/items/perch.svg'
}
var lachs = {
name: "Lachs",
weight: 4.2,
currentWeight: 4.2,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 8,
img: 'package://assets/img/items/salmon.svg'
}
var thunfisch = {
name: "Thunfisch",
weight: 11,
currentWeight: 11,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 9,
img: 'package://assets/img/items/salmon.svg'
}
var zander = {
name: "Zander",
weight: 5,
currentWeight: 5,
rarity: 'fishes',
statSlots: [],
runes: [],
amount: 1,
usable: 'false',
selected: 'false',
stackable: 'false',
object: 'true',
itemId: 10,
img: 'package://assets/img/items/zander.svg'
}
var allItems = [fish, hamburger, cocaine, cannabis]; var allItems = [holz, hamburger, cocaine, cannabis, flunder, aal, barsch, lachs, thunfisch, zander];
@@ -114,15 +191,15 @@ function addToInvenotry(addItem) {
//Adds item to inventory //Adds item to inventory
for (var i = 0; i < playerInventory.length; i++) { for (var i = 0; i < playerInventory.length; i++) {
if (unfininshedStack != undefined) { if (unfininshedStack != undefined) {
if (playerInventory[unfininshedStack].amount + cloneItem.amount <= 10) { if (playerInventory[unfininshedStack].amount + cloneItem.amount <= 99) {
playerInventory[unfininshedStack].amount += cloneItem.amount; playerInventory[unfininshedStack].amount += cloneItem.amount;
unfininshedStack = undefined; unfininshedStack = undefined;
drawToPage(); drawToPage();
moveItemsInv(); moveItemsInv();
break; break;
} }
else if (playerInventory[unfininshedStack].amount + cloneItem.amount > 10) { else if (playerInventory[unfininshedStack].amount + cloneItem.amount > 99) {
var stackRemainder = 10 - playerInventory[unfininshedStack].amount; var stackRemainder = 99 - playerInventory[unfininshedStack].amount;
playerInventory[unfininshedStack].amount += stackRemainder; playerInventory[unfininshedStack].amount += stackRemainder;
cloneItem.amount -= stackRemainder; cloneItem.amount -= stackRemainder;
var recycleCloned = cloneItem; var recycleCloned = cloneItem;
@@ -133,11 +210,11 @@ function addToInvenotry(addItem) {
break; break;
} }
} }
else if (cloneItem.amount > 10 && playerInventory[i].object === 'false') { else if (cloneItem.amount > 99 && playerInventory[i].object === 'false') {
var reduceCloneAmount = Object.assign({}, cloneItem); var reduceCloneAmount = Object.assign({}, cloneItem);
reduceCloneAmount.amount = 10; reduceCloneAmount.amount = 99;
playerInventory[i] = reduceCloneAmount; playerInventory[i] = reduceCloneAmount;
cloneItem.amount -= 10; cloneItem.amount -= 99;
addToInvenotry(cloneItem); addToInvenotry(cloneItem);
drawToPage(); drawToPage();
moveItemsInv(); moveItemsInv();
@@ -162,7 +239,10 @@ var currentSelected;
function moveItemsInv() { function moveItemsInv() {
getAllItemSlotData(); getAllItemSlotData();
for (var i = 0; i < getItemSlotData.length; i++) { for (var i = 0; i < getItemSlotData.length; i++) {
getItemSlotData[i].addEventListener("click", function () { $(getItemSlotData[i]).click(function () {
if (this.getAttribute('inv-type') != 'p') {
return;
}
if (this.classList.contains('selected')) { if (this.classList.contains('selected')) {
this.classList.remove('selected'); this.classList.remove('selected');
currentSelected = undefined; currentSelected = undefined;
@@ -172,16 +252,50 @@ function moveItemsInv() {
} }
else if (currentSelected) { else if (currentSelected) {
if (playerInventory[currentSelected].stackable === 'false' || playerInventory[currentSelected].itemId != playerInventory[this.getAttribute('data-value')].itemId) { if (playerInventory[currentSelected].stackable === 'false' || playerInventory[currentSelected].itemId != playerInventory[this.getAttribute('data-value')].itemId) {
var swap = playerInventory[this.getAttribute('data-value')];
playerInventory[this.getAttribute('data-value')] = playerInventory[currentSelected]; if (playerInventory[this.getAttribute('data-value')] == EmptySlot && this.getAttribute('data-value') > 23) {
playerInventory[currentSelected] = swap; $(".Betrag").show();
drawToPage(); var hItem = this.getAttribute('data-value');
drawToHandel(); var iItem = currentSelected;
currentSelected = undefined; var Copy = Object.assign({}, playerInventory[iItem]);
getItemSlotData = document.getElementsByClassName('itemSlot'); playerInventory.splice(hItem, 0, Copy);
moveItemsInv(); $("#tf_submitZahl").click(function () {
if ($('#tf_zahl').val() < playerInventory[iItem].amount && playerInventory[currentSelected].stackable) {
console.log(playerInventory[hItem].amount + " " + playerInventory[iItem].amount + " " + hItem);
var y = parseInt($('#tf_zahl').val(), 10);
playerInventory[iItem].amount -= y;
console.log(playerInventory[hItem].amount + " " + playerInventory[iItem] + " " + parseInt($('#tf_zahl').val(), 10) + " " + hItem);
playerInventory[hItem].amount = y;
console.log(playerInventory[hItem].amount + " " + playerInventory[iItem].amount + " " + parseInt($('#tf_zahl').val(), 10) + " " + hItem);
} else {
playerInventory[hItem].amount = playerInventory[currentSelected].amount;
playerInventory[currentSelected] = EmptySlot;
}
drawToPage();
drawToHandel();
currentSelected = undefined;
getItemSlotData = document.getElementsByClassName('itemSlot');
moveItemsInv();
$(".Betrag").hide();
});
return;
} else {
var swap = playerInventory[this.getAttribute('data-value')];
playerInventory[this.getAttribute('data-value')] = playerInventory[currentSelected];
playerInventory[currentSelected] = swap;
drawToPage();
drawToHandel();
currentSelected = undefined;
getItemSlotData = document.getElementsByClassName('itemSlot');
moveItemsInv();
}
} }
else if (playerInventory[currentSelected].itemId == playerInventory[this.getAttribute('data-value')].itemId && playerInventory[currentSelected].stackable) { else if ((playerInventory[currentSelected].itemId == playerInventory[this.getAttribute('data-value')].itemId && playerInventory[currentSelected].stackable) && this.getAttribute('inv-type') === 'p') {
playerInventory[this.getAttribute('data-value')].amount += playerInventory[currentSelected].amount playerInventory[this.getAttribute('data-value')].amount += playerInventory[currentSelected].amount
playerInventory[currentSelected] = EmptySlot; playerInventory[currentSelected] = EmptySlot;
drawToPage(); drawToPage();
@@ -192,8 +306,8 @@ function moveItemsInv() {
} }
} }
else { else {
this.className += ' selected' this.className += ' selected';
currentSelected = this.getAttribute('data-value') currentSelected = this.getAttribute('data-value');
} }
}); });
} }
@@ -228,7 +342,7 @@ function drawToPage() {
if (i >= 24) { if (i >= 24) {
//Keeps inventory set to 10 items max //Keeps inventory set to 10 items max
console.log('Inventory is full!') console.log('Inventory is full!')
return;
} }
else { else {
//creates item element //creates item element
@@ -350,8 +464,6 @@ function drawToHandel() {
fillOutEmptyInvHandel(); fillOutEmptyInvHandel();
} }
/////////////////// ///////////////////
// Dev Commands // // Dev Commands //
/////////////////// ///////////////////
@@ -373,75 +485,68 @@ var commands = {
// Button funktionen // Button funktionen
var elembenutzen = document.getElementById("buttonbenutzen");
elembenutzen.addEventListener('click', benutzen);
var elemwegwerfen = document.getElementById("buttonwegwerfen");
elemwegwerfen.addEventListener('click', wegwerfen);
var elemsubmit = document.getElementById("tf_submit");
elemsubmit.addEventListener('click', handeln);
function benutzen() { $("#buttonbenutzen").click(function () {
if (currentSelected) { if (currentSelected) {
if (playerInventory[currentSelected].usable == 'true') { if (playerInventory[currentSelected].usable == 'true') {
if (playerInventory[currentSelected].stackable == 'true') { if (playerInventory[currentSelected].stackable == 'true') {
playerInventory[currentSelected].amount -= 1; playerInventory[currentSelected].amount -= 1;
if (playerInventory[currentSelected].amount <= 0) { if (playerInventory[currentSelected].amount <= 0) {
mp.trigger("CEF:UseItemInv", playerInventory[currentSelected].itemId);
playerInventory[currentSelected] = EmptySlot; playerInventory[currentSelected] = EmptySlot;
} else { } else {
if (getItemSlotData[currentSelected].classList.contains('selected')) { if (getItemSlotData[currentSelected].classList.contains('selected')) {
getItemSlotData[currentSelected].classList.remove('selected'); getItemSlotData[currentSelected].classList.remove('selected');
playerInventory[currentSelected].selected = 'false'; playerInventory[currentSelected].selected = 'false';
currentSelected = undefined;
} }
} }
drawToPage(); drawToPage();
drawToHandel(); drawToHandel();
moveItemsInv(); moveItemsInv();
getCommands();
} else { } else {
mp.trigger("CEF:UseItemInv", playerInventory[currentSelected].itemId);
playerInventory[currentSelected] = EmptySlot; playerInventory[currentSelected] = EmptySlot;
currentSelected = undefined;
drawToPage(); drawToPage();
drawToHandel(); drawToHandel();
moveItemsInv(); moveItemsInv();
} }
mp.trigger("CEF:UseItemInv", playerInventory[currentSelected].itemId);
currentSelected = undefined;
} }
} }
} });
function wegwerfen() { $("#buttonwegwerfen").click(function () {
if (currentSelected) { if (currentSelected) {
playerInventory[currentSelected] = EmptySlot;
currentSelected = undefined;
drawToPage(); drawToPage();
drawToHandel(); drawToHandel();
moveItemsInv(); moveItemsInv();
mp.trigger('CEF:invThrowItem', playerInventory[currentSelected].itemId); mp.trigger('CEF:invThrowItem', playerInventory[currentSelected].itemId);
playerInventory[currentSelected] = EmptySlot;
currentSelected = undefined;
} }
});
}
$(".phanWrapper").hide();
var trade = 1; var trade = 1;
$("#buttonhandeln").click(function () { $("#buttonhandeln").click(function () {
if (trade == 1) { if (trade == 1) {
$(".phanWrapper").show(); $(".phanWrapper").show();
drawToHandel();
drawToPage(); drawToPage();
drawToHandel();
moveItemsInv(); moveItemsInv();
trade = 0; trade = 0;
} else { } else {
$(".phanWrapper").hide(); $(".phanWrapper").hide();
trade = 1; trade = 1;
} }
currentSelected = undefined;
}); });
function handeln() { $("#tf_submit").click(function () {
var Money = document.getElementById("tf_betrag").value; var Money = document.getElementById("tf_betrag").value;
var User = document.getElementById("tf_name").value; var User = document.getElementById("tf_name").value;
if (User == '') { if (User == '') {
@@ -466,7 +571,7 @@ function handeln() {
moveItemsInv(); moveItemsInv();
mp.trigger("CEF:tradeItem", $('#tf_betrag').val(), User, JSON.stringify(tradeItems), JSON.stringify(tradeItemAmount)); mp.trigger("CEF:tradeItem", $('#tf_betrag').val(), User, JSON.stringify(tradeItems), JSON.stringify(tradeItemAmount));
return; return;
} });
var tradeItems = []; var tradeItems = [];
var tradeItemAmount = []; var tradeItemAmount = [];
function getTradeSlotItems() { function getTradeSlotItems() {

View File

@@ -0,0 +1,24 @@
using ReallifeGamemode.Server.Inventory.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
/**
* @overview Life of German Reallife - Inventory Items Hamburger (Hamburger.cs)
* @author VegaZ
* @copyright (c) 2008 - 2018 Life of German
*/
namespace ReallifeGamemode.Server.Inventory.Items
{
public class Aal : DropItem
{
public override int Id => 6;
public override string Name => "Kraftstoff";
public override string Description => "Der Stoff gibt dir Kraft.";
public override int Gewicht => 1000;
public override string Einheit => "g";
public override int HpAmount => 20;
public override uint Object => 786272259;
}
}

View File

@@ -0,0 +1,24 @@
using ReallifeGamemode.Server.Inventory.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
/**
* @overview Life of German Reallife - Inventory Items Hamburger (Hamburger.cs)
* @author VegaZ
* @copyright (c) 2008 - 2018 Life of German
*/
namespace ReallifeGamemode.Server.Inventory.Items
{
public class Barsch : DropItem
{
public override int Id => 7;
public override string Name => "Kraftstoff";
public override string Description => "Der Stoff gibt dir Kraft.";
public override int Gewicht => 1000;
public override string Einheit => "g";
public override int HpAmount => 20;
public override uint Object => 786272259;
}
}

View File

@@ -0,0 +1,24 @@
using ReallifeGamemode.Server.Inventory.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
/**
* @overview Life of German Reallife - Inventory Items Hamburger (Hamburger.cs)
* @author VegaZ
* @copyright (c) 2008 - 2018 Life of German
*/
namespace ReallifeGamemode.Server.Inventory.Items
{
public class Lachs : DropItem
{
public override int Id => 8;
public override string Name => "Kraftstoff";
public override string Description => "Der Stoff gibt dir Kraft.";
public override int Gewicht => 1000;
public override string Einheit => "g";
public override int HpAmount => 20;
public override uint Object => 786272259;
}
}

View File

@@ -0,0 +1,24 @@
using ReallifeGamemode.Server.Inventory.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
/**
* @overview Life of German Reallife - Inventory Items Hamburger (Hamburger.cs)
* @author VegaZ
* @copyright (c) 2008 - 2018 Life of German
*/
namespace ReallifeGamemode.Server.Inventory.Items
{
public class Thunfisch : DropItem
{
public override int Id => 9;
public override string Name => "Kraftstoff";
public override string Description => "Der Stoff gibt dir Kraft.";
public override int Gewicht => 1000;
public override string Einheit => "g";
public override int HpAmount => 20;
public override uint Object => 786272259;
}
}

View File

@@ -0,0 +1,24 @@
using ReallifeGamemode.Server.Inventory.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;
/**
* @overview Life of German Reallife - Inventory Items Hamburger (Hamburger.cs)
* @author VegaZ
* @copyright (c) 2008 - 2018 Life of German
*/
namespace ReallifeGamemode.Server.Inventory.Items
{
public class Zander : DropItem
{
public override int Id => 10;
public override string Name => "Kraftstoff";
public override string Description => "Der Stoff gibt dir Kraft.";
public override int Gewicht => 1000;
public override string Einheit => "g";
public override int HpAmount => 20;
public override uint Object => 786272259;
}
}

View File

@@ -24,11 +24,9 @@ namespace ReallifeGamemode.Server.Managers
List<int> ItemId = new List<int>(); List<int> ItemId = new List<int>();
List<int> amount = new List<int>(); List<int> amount = new List<int>();
using (var context = new DatabaseContext()) using (var context = new DatabaseContext())
{ {
List<UserItem> userItems = context.UserItems.ToList().FindAll(i => i.UserId == user.Id); List<UserItem> userItems = context.UserItems.ToList().FindAll(i => i.UserId == user.Id);
foreach (var item in userItems) foreach (var item in userItems)
{ {
ItemId.Add(item.ItemId); ItemId.Add(item.ItemId);