Skip to content

Commit

Permalink
Merge branch 'master' into update11
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 authored Nov 22, 2023
2 parents 0df4122 + 8bbd2ae commit 9b14da7
Show file tree
Hide file tree
Showing 30 changed files with 206 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
cd RobustToolbox
git fetch --depth=1
- name: Remove Dotnet 8
run: sudo apt remove --purge dotnet-sdk-8.0

- name: Install dependencies
run: dotnet restore

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/publish_erp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ jobs:
cd RobustToolbox
git fetch --depth=1
- name: Remove Dotnet 8
run: sudo apt remove --purge dotnet-sdk-8.0

- name: Install dependencies
run: dotnet restore

Expand Down
16 changes: 13 additions & 3 deletions .github/workflows/test-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,28 @@ jobs:
echo "StrictHostKeyChecking no" >> ~/.ssh/config
git -c submodule.Secrets.update=checkout submodule update --init
# Corvax-Secrets-End
- name: Setup .NET Core
uses: actions/[email protected]
with:
dotnet-version: 6.0.x

- name: Remove Dotnet 8
run: sudo apt remove --purge dotnet-sdk-8.0

- name: Test Dotnet
run: dotnet --info

- name: Install dependencies
run: dotnet restore

- name: Build Packaging
run: dotnet build Content.Packaging --configuration Release --no-restore /m
run: dotnet build Content.Packaging --configuration Release --no-restore -f net7.0 /m

- name: Package server
run: dotnet run --project Content.Packaging server --platform linux-x64
run: dotnet run --project Content.Packaging server --platform linux-x64 -f net7.0

- name: Package client
run: dotnet run --project Content.Packaging client --no-wipe-release
run: dotnet run --project Content.Packaging client --no-wipe-release -f net7.0

- name: Update Build Info
run: Tools/gen_build_info.py
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 8 additions & 0 deletions Resources/Locale/ru-RU/ADT/Objects/Weapons/Guns/Guns.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,18 @@ ent-ADTWeaponPistolX01 = X-01 Мультифазовый энергетичес
.desc = Это дорогая, современная версия антикварного лазерного пистолета. У этого оружия есть несколько уникальных режимов огня, но нет возможности самостоятельно перезаряжаться с течением времени.
.suffix = Пистолет
ent-ADTRifleAKsy = АКСу-74
.desc = Автомат добравшийся из древних времен, что отличается своей простотой и надежностью. Весьма легок и компактен. Совокупность весомых плюсов в маленьком исполнении.
.suffix = { "" }
ent-ADTRifleAKsyIohana = Трофейный АКСу-74 Йохана
.desc = Оружие на вид слегка потрепанное, на цевье виднеется несколько насечек.
ent-ADTMagazineRifleFNFAL = Магазин 6.5х39 мм TSF
.desc = Магазин под патрон 6.5х39 мм, с вместимостью в 20 единиц.
.suffix = { "" }
ent-ADTGunRifleFNFAL = AR-6.5 "Свободоносец"
.desc = Автоматическая винтовка, разработанная дочерней компанией NanoTrasen, данная оружие стал одним из наиболее распространенных и широко используемых стрелковых оружий во второй половине 25 века. Свободоносец известен своей универсальностью, надежностью и высокой огневой мощью. Внешне очень схож на немало известную FN FAL, но конструктивно это два разные оружия, из-за этого он и был прозван "Свободоносец" или "Правая рука свободы".
.suffix = { "" }
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
- type: entity
name: FN FAL
parent: BaseItem
id: ADTGunRifleFNFAL
description: Rifles
components:
- type: Sprite
sprite: ADT/Objects/Weapons/Guns/Rifels/fn_fal.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: ADT/Objects/Weapons/Guns/Rifels/fn_fal.rsi
quickEquip: false
slots:
- Back
- suitStorage
- type: ChamberMagazineAmmoProvider
- type: ItemSlots
slots:
gun_magazine:
name: Magazine
startingItem: ADTMagazineRifleFNFAL
insertSound: /Audio/Weapons/Guns/MagIn/batrifle_magin.ogg
ejectSound: /Audio/Weapons/Guns/MagOut/batrifle_magout.ogg
priority: 1
whitelist:
tags:
- ADTMagazineRifleFNFAL
gun_chamber:
name: Chamber
startingItem: CartridgeRifle
priority: 1
whitelist:
tags:
- CartridgeRifle
- type: ContainerContainer
containers:
gun_magazine: !type:ContainerSlot
gun_chamber: !type:ContainerSlot
- type: MagazineVisuals
magState: mag
steps: 1
zeroVisible: true
- type: Appearance
- type: StaticPrice
price: 500
- type: AmmoCounter
- type: Gun
fireRate: 7
selectedMode: Burst
availableModes:
#- FullAuto
- SemiAuto
- Burst
soundGunshot:
collection: FN_Fal_choot
- type: Item
size: Large



## рандомизатор звуков для разнообразия звуков выстрела
- type: soundCollection
id: FN_Fal_choot
files:
- /Audio/ADT/Weapons/fnfal/FN-FAL_shoot1.ogg
- /Audio/ADT/Weapons/fnfal/FN-FAL_shoot2.ogg
- /Audio/ADT/Weapons/fnfal/FN-FAL_shoot3.ogg
- /Audio/ADT/Weapons/fnfal/FN-FAL_shoot4.ogg

# Base mags
- type: entity
id: ADTBaseMagazineRifleFNFAL
name: "extended magazine (.20 rifle)"
parent: BaseItem
abstract: true
components:
- type: Tag
tags:
- ADTMagazineRifleFNFAL
- type: Item
size: Small
- type: BallisticAmmoProvider
mayTransfer: true
whitelist:
tags:
- CartridgeRifle
capacity: 20
- type: ContainerContainer
containers:
ballistic-ammo: !type:Container
- type: Sprite
sprite: ADT/Objects/Weapons/Guns/Ammunition/Magazine/fn_fal_mag.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
- type: MagazineVisuals
magState: mag
steps: 2
zeroVisible: false
- type: Appearance

# Magazines FN_FAL
- type: entity
id: ADTMagazineRifleFNFAL
name: "extended magazine (.20 rifle)"
parent: ADTBaseMagazineRifleFNFAL
components:
- type: BallisticAmmoProvider
proto: CartridgeRifle
- type: Sprite
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-1
map: ["enum.GunVisualLayers.Mag"]
3 changes: 3 additions & 0 deletions Resources/Prototypes/tags.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1116,3 +1116,6 @@

- type: Tag
id: ADTExtMagazineRifle

- type: Tag
id: ADTMagazineRifleFNFAL
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 1,
"size": {
"x": 32,
"y": 32
},
"license": "CC-BY-SA-3.0",
"copyright": "Created by discord:prazat911 Approved for use ONLY on the Adventure Time project.",
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "mag-1"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Created by discord:prazat911 Approved for use ONLY on the Adventure Time project.",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "mag-0"
},
{
"name": "bolt-open"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BACKPACK",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/Textures/Clothing/Back/Duffels/medical.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/Textures/Clothing/Back/Duffels/mime.rsi/icon.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 modified Resources/Textures/Clothing/Back/Duffels/mime.rsi/inhand-left.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 modified Resources/Textures/Clothing/Back/Duffels/mime.rsi/inhand-right.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 9b14da7

Please sign in to comment.