add item Chips & Apfel
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<svg height="512" viewBox="0 0 48 58" width="512" xmlns="http://www.w3.org/2000/svg"><g id="Page-1" fill="none" fill-rule="evenodd"><g id="015---Potato-Chips" fill-rule="nonzero"><path id="Shape" d="m0 29c.09376304 7.7578434 1.10069588 15.4776619 3 23l20.962 1 21.038-1c1.8993041-7.5223381 2.906237-15.2421566 3-23-.093763-7.7578434-1.1006959-15.4776619-3-23l-21.038-1-20.962 1c-1.89930412 7.5223381-2.90623696 15.2421566-3 23z" fill="#f0c419"/><path id="Shape" d="m24 6h21v-4.333c.0000552-.36888685-.2029784-.70784605-.528235-.88187397-.3252565-.17402792-.7199063-.15485824-1.026765.04987397l-.89.593c-.3360369.22419954-.7739631.22419954-1.11 0l-1.89-1.26c-.3360369-.22419954-.7739631-.22419954-1.11 0l-1.89 1.26c-.3360369.22419954-.7739631.22419954-1.11 0l-1.89-1.26c-.3360369-.22419954-.7739631-.22419954-1.11 0l-1.89 1.26c-.3360369.22419954-.7739631.22419954-1.11 0l-1.89-1.26c-.3360369-.22419954-.7739631-.22419954-1.11 0l-1.89 1.26c-.3360369.22419954-.7739631.22419954-1.11 0l-1.89-1.26c-.3360369-.22419954-.7739631-.22419954-1.11 0l-1.89 1.26c-.3360369.22419954-.7739631.22419954-1.11 0l-1.89-1.26c-.3360369-.22419954-.7739631-.22419954-1.11 0l-1.89 1.26c-.3360369.22419954-.7739631.22419954-1.11 0l-1.89-1.26c-.33603687-.22419954-.77396313-.22419954-1.11 0l-1.89 1.26c-.33603687.22419954-.77396313.22419954-1.11 0l-.89-.593c-.30685866-.20473221-.70150853-.22390189-1.02676504-.04987397s-.52829017.51298712-.52823496.88187397l-.00000001 4.333z" fill="#95a5a5"/><path id="Shape" d="m24 52h21v4.333c.0000552.3688869-.2029784.707846-.528235.881874-.3252565.1740279-.7199063.1548582-1.026765-.049874l-.89-.593c-.3360369-.2241995-.7739631-.2241995-1.11 0l-1.89 1.26c-.3360369.2241995-.7739631.2241995-1.11 0l-1.89-1.26c-.3360369-.2241995-.7739631-.2241995-1.11 0l-1.89 1.26c-.3360369.2241995-.7739631.2241995-1.11 0l-1.89-1.26c-.3360369-.2241995-.7739631-.2241995-1.11 0l-1.89 1.26c-.3360369.2241995-.7739631.2241995-1.11 0l-1.89-1.26c-.3360369-.2241995-.7739631-.2241995-1.11 0l-1.89 1.26c-.3360369.2241995-.7739631.2241995-1.11 0l-1.89-1.26c-.3360369-.2241995-.7739631-.2241995-1.11 0l-1.89 1.26c-.3360369.2241995-.7739631.2241995-1.11 0l-1.89-1.26c-.3360369-.2241995-.7739631-.2241995-1.11 0l-1.89 1.26c-.33603687.2241995-.77396313.2241995-1.11 0l-1.89-1.26c-.33603687-.2241995-.77396313-.2241995-1.11 0l-.89.593c-.30685866.2047322-.70150853.2239019-1.02676504.049874-.32525651-.174028-.52829017-.5129871-.52823496-.881874l-.00000001-4.333z" fill="#95a5a5"/><ellipse id="Oval" cx="24" cy="29" fill="#955ba5" rx="19" ry="14"/><path id="Shape" d="m32 23c-2.89 1.16-4.11 4.98-5.98 8.01-1.36 2.21-3.06 3.99-6.02 3.99-7 0-8-5-8-6s0-5 5-5 5 1 8 1c1.4002383.0437703 2.7850934-.3024435 4-1 .9205243-.5362396 1.9418368-.8766771 3-1z" fill="#f3d55b"/><path id="Shape" d="m36 26c0 2-2 6-6 6-1.3956068.0732292-2.78134-.2714632-3.98-.99 1.87-3.03 3.09-6.85 5.98-8.01 3 0 4 1 4 3z" fill="#f0c419"/></g></g></svg>
|
||||
|
After Width: | Height: | Size: 2.8 KiB |
@@ -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 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
|
||||
<path style="fill:#F94848;" d="M465.19,285.054c0,61.607-40.062,146.747-88.501,193.258C355.207,498.967,332.069,512,310.042,512
|
||||
c-13.922,0-27.808-2.236-39.754-5.843c-16.368-4.954-33.775-4.954-50.143,0C208.2,509.764,194.315,512,180.392,512
|
||||
c-23.076,0-47.388-14.318-69.736-36.715c-47.042-47.104-85.412-129.947-85.412-190.232c0-88.945,53.207-142.683,103.238-155.654
|
||||
c23.966-6.214,51.774-2.211,74.232,3.632c23.225,6.053,47.363,7.066,70.884,3.039c4.744-0.815,9.45-1.828,14.12-3.039
|
||||
c22.459-5.843,50.254-9.846,74.232-3.632C411.984,142.371,465.19,196.109,465.19,285.054z"/>
|
||||
<path style="fill:#E23D3D;" d="M376.687,478.307c-59.444,10.504-105.23,7.594-139.729-0.76
|
||||
c-56.335-13.641-98.243-61.156-105.227-118.696c-17.493-144.11,76.667-186.066,76.667-186.066
|
||||
c27.598,12.539,58.63,5.843,58.63,5.843c-19.803-19.79,6.572-42.558,6.572-42.558c-23.521,4.027-47.66,3.014-70.884-3.039
|
||||
c-22.459-5.843-50.266-9.846-74.232-3.632C78.451,142.371,25.245,196.109,25.245,285.054C25.245,373.987,108.742,512,180.392,512
|
||||
c13.922,0,27.808-2.236,39.754-5.843c16.368-4.954,33.774-4.954,50.143,0c11.946,3.607,25.831,5.843,39.754,5.843
|
||||
c22.026,0,45.164-13.033,66.647-33.688C376.687,478.309,376.69,478.312,376.687,478.307z"/>
|
||||
<path style="fill:#C7F492;" d="M486.756,5.506c0,0-12.354,86.116-77.419,111.182c-62.2,23.966-117.643-40.828-140.385-35.726
|
||||
c-1.025,0.21-1.977,0.581-2.866,1.112c-0.037,0.012-0.049,0.025-0.049,0.025l0.012-0.049c0.766-2.322,25.708-76.616,89.761-81.484
|
||||
C420.874-4.377,456.28,25.272,486.756,5.506z"/>
|
||||
<path style="fill:#A3E261;" d="M486.756,5.506c0,0-39.531,48.179-95.122,48.179c-48.883,0-108.909,21.965-122.683,27.277
|
||||
c-1.655,0.63-2.631,1.025-2.866,1.112c-0.037,0.012-0.049,0.025-0.049,0.025l0.012-0.049c0.766-2.322,25.708-76.616,89.761-81.484
|
||||
C420.874-4.377,456.28,25.272,486.756,5.506z"/>
|
||||
<ellipse transform="matrix(-0.0989 -0.9951 0.9951 -0.0989 186.5864 663.8789)" style="fill:#FC8181;" cx="393.878" cy="247.459" rx="44.464" ry="28.771"/>
|
||||
<path style="fill:#E23D3D;" d="M291.289,166.437c0,10.118-15.887,18.543-36.974,20.457c-2.94,0.272-5.979,0.408-9.092,0.408
|
||||
c-3.249,0-6.411-0.148-9.463-0.432c-20.89-1.989-36.591-10.377-36.591-20.433H291.289z"/>
|
||||
<path style="fill:#B25719;" d="M280.368,81.012l-33.787,51.316c2.532,10.402,4.719,21.866,6.14,34.108
|
||||
c0.778,6.609,1.334,13.441,1.594,20.457c-2.94,0.272-5.979,0.408-9.092,0.408c-3.249,0-6.411-0.148-9.463-0.432
|
||||
c-0.272-7.017-0.877-13.836-1.705-20.433c-6.053-47.969-24.559-83.3-24.781-83.695c-2.397-4.521-0.679-10.13,3.842-12.526
|
||||
c4.521-2.409,10.13-0.692,12.526,3.83c0.544,1.038,7.35,14.046,14.219,34.8l25.041-38.024c2.804-4.274,8.561-5.448,12.823-2.631
|
||||
C281.999,70.994,283.185,76.738,280.368,81.012z"/>
|
||||
<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 |
18
ReallifeGamemode.Server/Inventory/Items/Apfel.cs
Normal file
18
ReallifeGamemode.Server/Inventory/Items/Apfel.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace ReallifeGamemode.Server.Inventory.Items
|
||||
{
|
||||
class Apfel : FoodItem
|
||||
{
|
||||
public override int Id => 101 ;
|
||||
public override string Name => "Apfel";
|
||||
public override string Description => "Ein Apfel";
|
||||
public override int Gewicht => 80;
|
||||
public override string Einheit => "g";
|
||||
public override int HpAmount => 10;
|
||||
public override uint Object => 2240524752;
|
||||
public override int Price => 20;
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,6 @@ namespace ReallifeGamemode.Server.Inventory.Items
|
||||
public override string Einheit => "g";
|
||||
public override int HpAmount => 20;
|
||||
public override uint Object => 2240524752;
|
||||
public override int Price => 150;
|
||||
public override int Price => 100;
|
||||
}
|
||||
}
|
||||
|
||||
18
ReallifeGamemode.Server/Inventory/Items/Chips.cs
Normal file
18
ReallifeGamemode.Server/Inventory/Items/Chips.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace ReallifeGamemode.Server.Inventory.Items
|
||||
{
|
||||
class Chips : FoodItem
|
||||
{
|
||||
public override int Id => 100;
|
||||
public override string Name => "Chips";
|
||||
public override string Description => "Chips";
|
||||
public override int Gewicht => 100;
|
||||
public override string Einheit => "g";
|
||||
public override int HpAmount => 10;
|
||||
public override uint Object => 2240524752;
|
||||
public override int Price => 20;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user