Skip to content

Commit

Permalink
end radio event; bump version & changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
hsanger committed Jul 15, 2024
1 parent ca52766 commit b4b01bc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 27 deletions.
8 changes: 8 additions & 0 deletions client/changelog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
<pre>
# Changelog

v0.18.3 - [7/15/2024]
- Added ability to ask for special ammos you don't have
- Ended radio event
- Optimized spritesheets for faster loading
- Improved translations
- Fixed airdrops spawning on top of each other
- The kill leader is now cleared when they disconnect

v0.18.2 - [7/4/2024]
- Re-added firework launcher and confetti grenade to golden airdrops
- Massively increased radio spawn rates
Expand Down
12 changes: 3 additions & 9 deletions client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
z-index: 1000;
pointer-events: none;
}

#loading-text {
top: 215px;
width: 100%;
Expand Down Expand Up @@ -181,15 +181,9 @@ <h2>
<ul class="dropdown-content" id="server-list"></ul>
</div>

<button class="btn btn-lg btn-darken btn-secondary" id="btn-play-solo">
<img class="btn-icon" width="24" height="24" src="./img/game/weapons/radio.svg">
<span translation="play_solo"></span>
</button>
<button class="btn btn-lg btn-darken btn-primary" id="btn-play-solo" translation="play_solo"></button>
<div class="team-btns-container">
<button class="btn btn-lg btn-darken btn-secondary" id="btn-play-duo">
<img class="btn-icon" width="24" height="24" src="./img/game/weapons/radio.svg">
<span translation="play_duo"></span>
</button>
<button class="btn btn-lg btn-darken btn-primary" id="btn-play-duo" translation="play_duo"></button>
<button class="btn btn-lg btn-darken btn-primary" id="btn-play-squad" translation="play_squad"></button>
</div>
<div id="team-option-btns" class="team-btns-container">
Expand Down
3 changes: 1 addition & 2 deletions common/src/definitions/obstacles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -756,8 +756,7 @@ export const Obstacles = ObjectDefinitions.create<ObstacleDefinition>()(
falloff: 0.3
},
replaceWith: {
// idString: { airdrop_crate: 0.95, gold_airdrop_crate: 0.05 },
idString: { airdrop_crate: 0.85, gold_airdrop_crate: 0.15 }, // temporary
idString: { airdrop_crate: 0.95, gold_airdrop_crate: 0.05 },
delay: 800
},
noResidue: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "suroi",
"version": "0.18.2",
"version": "0.18.3",
"description": "An open-source 2D battle royale game inspired by surviv.io",
"private": true,
"scripts": {
Expand Down
18 changes: 3 additions & 15 deletions server/src/data/lootTables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export const LootTables: Record<string, LootTable> = {
{ tier: "healing_items", weight: 1 },
{ tier: "ammo", weight: 0.5 },
{ tier: "scopes", weight: 0.3 },
// { tier: "winter_skins", weight: 0.4 }, // winter mode
{ tier: "throwables", weight: 0.3 },
{ tier: "melee", weight: 0.04 }
]
Expand Down Expand Up @@ -451,8 +450,7 @@ export const LootTables: Record<string, LootTable> = {
{ tier: "gold_airdrop_guns", weight: 1 }
],
[
// { item: "frag_grenade", count: 3, weight: 1 }
{ item: "confetti_grenade", count: 4, weight: 1 } // temporary
{ item: "frag_grenade", count: 3, weight: 1 }
]
]
},
Expand Down Expand Up @@ -573,7 +571,6 @@ export const LootTables: Record<string, LootTable> = {

export const LootTiers: Record<string, readonly WeightedItem[]> = {
guns: [
{ item: "radio", weight: 2 }, // temporary
{ item: "g19", weight: 2 },
{ item: "m1895", weight: 1.75 },
{ item: "mp40", weight: 1.7 },
Expand All @@ -597,9 +594,8 @@ export const LootTiers: Record<string, readonly WeightedItem[]> = {
{ item: "cz600", weight: 0.008 },
{ item: "vepr12", weight: 0.008 },
{ item: "stoner_63", weight: 0.005 },
// { item: "radio", weight: 0.005 }, // temporary
{ item: "radio", weight: 0.005 },
{ item: "mosin", weight: 0.005 },
// { item: "firework_launcher", weight: 0.005 }, // birthday mode
{ item: "vector", weight: 0.004 },
{ item: "negev", weight: 0.003 },
{ item: "mg5", weight: 0.003 },
Expand Down Expand Up @@ -634,16 +630,13 @@ export const LootTiers: Record<string, readonly WeightedItem[]> = {
{ item: "12g", count: 10, weight: 0.75 },
{ item: "556mm", count: 60, weight: 1 },
{ item: "762mm", count: 60, weight: 1 },
// { item: "firework_rocket", count: 5, weight: 0.5 }, // birthday mode
{ item: "9mm", count: 60, weight: 1 }
],
throwables: [
{ item: "frag_grenade", count: 2, weight: 1 },
// { item: "confetti_grenade", count: 3, weight: 0.1 }, // birthday mode
{ item: "smoke_grenade", count: 2, weight: 1 }
],
special_guns: [
{ item: "radio", weight: 1.25 }, // temporary
{ item: "micro_uzi", weight: 1.25 },
{ item: "ak47", weight: 1.1 },
{ item: "aug", weight: 1.05 },
Expand All @@ -667,12 +660,11 @@ export const LootTiers: Record<string, readonly WeightedItem[]> = {
{ item: "vepr12", weight: 0.04 },
{ item: "cz600", weight: 0.03 },
{ item: "stoner_63", weight: 0.01 },
// { item: "radio", weight: 0.01 }, // temporary
{ item: "radio", weight: 0.01 },
{ item: "mosin", weight: 0.01 },
{ item: "vector", weight: 0.008 },
{ item: "negev", weight: 0.005 },
{ item: "mg5", weight: 0.005 },
// { item: "firework_launcher", weight: 0.005 }, // birthday mode
{ item: "tango_51", weight: 0.004 }
],
special_healing_items: [
Expand Down Expand Up @@ -745,13 +737,11 @@ export const LootTiers: Record<string, readonly WeightedItem[]> = {
{ item: "cz600", weight: 1 },
{ item: "mcx_spear", weight: 0.95 },
{ item: "mosin", weight: 0.95 },
// { item: "firework_launcher", weight: 0.9 }, // birthday mode
{ item: "tango_51", weight: 0.9 },
{ item: "stoner_63", weight: 0.9 },
{ item: "radio", weight: 0.1 }
],
gold_airdrop_guns: [
{ item: "firework_launcher", weight: 1.2 }, // temporary
{ item: "m1_garand", weight: 1.1 },
{ item: "acr", weight: 1 },
{ item: "pp19", weight: 1 },
Expand Down Expand Up @@ -783,7 +773,6 @@ export const LootTiers: Record<string, readonly WeightedItem[]> = {
{ item: "mcx_spear", weight: 0.75 },
{ item: "mg36", weight: 0.725 },
{ item: "cz600", weight: 0.7 },
// { item: "firework_launcher", weight: 0.7 }, // birthday mode
{ item: "vepr12", weight: 0.6 },
{ item: "lewis_gun", weight: 0.6 },
{ item: "mosin", weight: 0.5 },
Expand All @@ -798,7 +787,6 @@ export const LootTiers: Record<string, readonly WeightedItem[]> = {
{ item: "m16a4", weight: 1 },
{ item: "cz600", weight: 0.75 },
{ item: "mini14", weight: 0.75 },
// { item: "firework_launcher", weight: 0.6 }, // birthday mode
{ item: "mcx_spear", weight: 0.55 },
{ item: "sr25", weight: 0.5 },
{ item: "vss", weight: 0.5 },
Expand Down

0 comments on commit b4b01bc

Please sign in to comment.