Skip to content

Commit

Permalink
Updated version, making this public release (no big bugs yay).
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Dec 25, 2022
1 parent 6ed0a5a commit c024655
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 25 deletions.
4 changes: 2 additions & 2 deletions Items/Weapons/Explosives/FireCracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ namespace yourtale.Items.Weapons.Explosives
{
public class FireCracker : ModItem
{
public override void SetStaticDefaults()
public override void SetStaticDefaults() // The sprite I used for this weapon was an unused terraria sprite for firecrackers.
{
DisplayName.SetDefault("Firecrackers");
Tooltip.SetDefault("A small explosive, to get you started in your boom business.\nThrows a string of 5 explosive firecrackers that explode after a short delay.\nFirecrackers do not destroy blocks.");
}

public override void SetDefaults()
{
Item.damage = 50;
Item.damage = 18;
Item.crit = 20;
Item.noMelee= true;
Item.DamageType = ModContent.GetInstance<ExplosiveClass>();
Expand Down
2 changes: 1 addition & 1 deletion Items/Weapons/Explosives/Sparkler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Sparkler : ModItem
public override void SetStaticDefaults()
{
DisplayName.SetDefault("Sparkler");
Tooltip.SetDefault("A small basic sparkler, that will deal a steady stream of damage.\nWill light enemies on fire.");
Tooltip.SetDefault("A small basic sparkler, that will deal a steady stream of damage.\nWill light enemies on fire, but doesn't explode.");
}

public override void SetDefaults()
Expand Down
24 changes: 6 additions & 18 deletions Localization/en-US.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ Mods: {
Content: I feel pretty fine right now.
NoHome: I'm homeless right now. And no, i'm not sharing a room with you.
LoveSpace: It's very... empty. Very pleasing.
FarFromHome: I'm far from home right now. No biggie.
FarFromHome: I'm far from home right now. No biggie, guess I'll walk.
DislikeCrowded: Too many people. Too many weak points, not enough security.
HateCrowded: The constant nagging and bickering is getting to me.
HateCrowded: The constant nagging and bickering of all these people is getting to me.
LikeBiome: "I do like {BiomeName}. It is so mystifying and odd, it's very unique."
LoveBiome: "The {BiomeName} is my favorite. It is so cold and beautiful, it takes me back to before the organization."
DislikeBiome: "It is too bland in {BiomeName}, however."
Expand All @@ -163,28 +163,16 @@ Mods: {
StandardDialogue1 : "Sometimes I feel the organization calling me back."
StandardDialogue2 : "Why are you talking to me."
StandardDialogue3 : "hm."
CommonDialogue : "This message has a weight of 5, meaning it appears 5 times more often."
CommonDialogue : "check the github sometime."
RareDialogue : "Go ask the nurse for a happy ending."
TalkALot : "Why are you talking to me so much? Go do something productive, like anything else."
}
ExampleBoneMerchant: {
StandardDialogue1 : "It's relaxing down here in the underground."
StandardDialogue2 : "What am I doing down here you may ask? I'm not sure, but leave me be!"
StandardDialogue3 : "Huh? What wares do I have? I have no idea! How about you ask?"
}
ExampleTravelingMerchant: {
PartyGirlDialogue : "Can you please tell {0} to stop decorating my cousin's house with colors?"
StandardDialogue1 : "Sometimes my cousin feels like they're different from everyone else here."
StandardDialogue2 : "What's your favorite color? My cousin's favorite colors are white and black."
StandardDialogue3 : "I'm a traveling merchant, and I sell things."
HiveBackpackDialogue : "Hey, if you find a [i:HiveBackpack], my cousin can upgrade it for you."
}
}

GameTips: {
ExampleTip0: "Woah! Example Tip!"
ExampleTip1: "This tip was added by Example Mod!"
ExampleTip2: "This is yet another tip added by Example Mod!"
ExampleTip0: "Just don't die!"
ExampleTip1: "Just blame whatever kills you on lag."
ExampleTip2: "deez?"
DisabledExampleTip: "This tip will be added but then disabled by Example Mod."
}
}
Expand Down
1 change: 1 addition & 0 deletions Projectiles/Bombs/Explosion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public override void SetStaticDefaults()
ProjectileID.Sets.TrailCacheLength[Projectile.type] = 5;
ProjectileID.Sets.TrailingMode[Projectile.type] = 0;
}
public override string Texture => "yourtale/Projectiles/Bombs/ExplosionPng"; // Using only 1 texture for most basic explosions, because they don't need any texture.

public override void SetDefaults()
{
Expand Down
File renamed without changes
5 changes: 2 additions & 3 deletions Projectiles/Bombs/SmallExplosion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ public override void SetStaticDefaults()
ProjectileID.Sets.TrailCacheLength[Projectile.type] = 5;
ProjectileID.Sets.TrailingMode[Projectile.type] = 0;
}
public override string Texture => "yourtale/Projectiles/Bombs/ExplosionPng";

public override void SetDefaults()
{
Projectile.width = 50;
Projectile.height = 50;
Projectile.aiStyle = 0;
Projectile.friendly = true;
Projectile.damage = 50;
Projectile.damage = 19;
Projectile.DamageType = ModContent.GetInstance<ExplosiveClass>();
Projectile.penetrate = -1;
Projectile.timeLeft = 2;
Expand All @@ -32,8 +33,6 @@ public override void SetDefaults()
Projectile.ignoreWater = true;
Projectile.extraUpdates = 1;
AIType = ProjectileID.Bullet;
//Projectile.usesIDStaticNPCImmunity = true;
//Projectile.idStaticNPCHitCooldown = 10;
}

public override void Kill(int timeLeft)
Expand Down
Binary file removed Projectiles/Bombs/SmallExplosion.png
Binary file not shown.
2 changes: 1 addition & 1 deletion build.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
displayName = [c/5EAFF1:Y][c/74acda:o][c/82abcc:u][c/96a9b8:r] [c/c1a48d:T][c/c1a48d:a][c/e7a067:l][c/e7a067:e]
author = QUIDD60x
version = 0.8.8
version = 0.8.9.2
homepage = https://github.com/QUIDD60x/YourTale

0 comments on commit c024655

Please sign in to comment.