Skip to content

Commit

Permalink
v1.4, add new painting
Browse files Browse the repository at this point in the history
  • Loading branch information
direwolf420 committed Jun 28, 2021
1 parent a3acfbe commit 1f2a928
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 8 deletions.
1 change: 1 addition & 0 deletions Items/Placeable/CuteSlimeStatueItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace AssortedCrazyThings.Items.Placeable
{
//TODO RegularCuteSlimes config
[Content(ContentType.Placeables | ContentType.CuteSlimes)]
public class CuteSlimeStatueItem : PlaceableItem<CuteSlimeStatueTile>
{
Expand Down
8 changes: 1 addition & 7 deletions Items/Placeable/Paintings/PaintingItemBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,12 @@ public sealed override void SetStaticDefaults()

public sealed override void SetDefaults()
{
Item.DefaultToPlacableTile(TileType);
Item.value = Item.buyPrice(gold: 1);
Item.width = 32;
Item.height = 32;
Item.maxStack = 999;
Item.useTurn = true;
Item.autoReuse = true;
Item.useAnimation = 15;
Item.useTime = 10;
Item.useStyle = ItemUseStyleID.Swing;
Item.consumable = true;
Item.rare = ItemRarityID.Blue;
Item.createTile = TileType;
}
}
}
12 changes: 12 additions & 0 deletions Items/Placeable/Paintings/SCP099Item.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using AssortedCrazyThings.Tiles.Paintings;

namespace AssortedCrazyThings.Items.Placeable.Paintings
{
//TODO aquisition
public class SCP099Item : PaintingItemBase<SCP099>
{
public override string PaintingName => "The Portrait";

public override string PaintingAuthor => "R. Magritte";
}
}
Binary file added Items/Placeable/Paintings/SCP099Item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions Tiles/Paintings/SCP099.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using AssortedCrazyThings.Items.Placeable.Paintings;
using Terraria.ModLoader;

namespace AssortedCrazyThings.Tiles.Paintings
{
public class SCP099 : PaintingTileBase<SCP099Item>
{

}
}
Binary file added Tiles/Paintings/SCP099.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wiki/Placeable/SCP099.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Wiki/Placeable/SCP099Item.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
author = Harblesnargits, direwolf420
version = 1.3.1.2
version = 1.4
displayName = Assorted Crazy Things
hideResources = true
buildIgnore = *.csproj, *.user, *.md, obj\*, bin\*, .vs\*, Wiki\*, Guides\*, .gitignore, sample.png
Expand Down
Binary file modified icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1f2a928

Please sign in to comment.