It's Cow Game! Version 2.04!
This commit is contained in:
commit
a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions
22
Skills/Scavenging/Scavenging.gd
Normal file
22
Skills/Scavenging/Scavenging.gd
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
extends Skill
|
||||
|
||||
class_name Scavenging
|
||||
|
||||
func _init():
|
||||
skillName = "Scavenging"
|
||||
skillIcon = load("res://Skills/Scavenging/scavengingIcon2.png")
|
||||
|
||||
func get_scavenging_speed(difficulty):
|
||||
var scavengingSpeed = 1
|
||||
scavengingSpeed += (currentLevel - 1)
|
||||
|
||||
var penalty = floor((difficulty - currentLevel)/5)
|
||||
|
||||
if penalty > 0:
|
||||
for i in range(penalty):
|
||||
scavengingSpeed = scavengingSpeed * 0.75
|
||||
|
||||
if scavengingSpeed > difficulty * 2:
|
||||
scavengingSpeed = difficulty * 2
|
||||
|
||||
return scavengingSpeed
|
||||
BIN
Skills/Scavenging/scavengingIcon.png
Normal file
BIN
Skills/Scavenging/scavengingIcon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 644 B |
34
Skills/Scavenging/scavengingIcon.png.import
Normal file
34
Skills/Scavenging/scavengingIcon.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://dku66wbd2goc4"
|
||||
path="res://.godot/imported/scavengingIcon.png-e93a1e92122adf4cd31dce1735249633.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Skills/Scavenging/scavengingIcon.png"
|
||||
dest_files=["res://.godot/imported/scavengingIcon.png-e93a1e92122adf4cd31dce1735249633.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
BIN
Skills/Scavenging/scavengingIcon2.png
Normal file
BIN
Skills/Scavenging/scavengingIcon2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 944 B |
34
Skills/Scavenging/scavengingIcon2.png.import
Normal file
34
Skills/Scavenging/scavengingIcon2.png.import
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://d30v7gk31mcms"
|
||||
path="res://.godot/imported/scavengingIcon2.png-078dfa12408655eea87957a4cf734f1c.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://Skills/Scavenging/scavengingIcon2.png"
|
||||
dest_files=["res://.godot/imported/scavengingIcon2.png-078dfa12408655eea87957a4cf734f1c.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/high_quality=false
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_compression=1
|
||||
compress/normal_map=0
|
||||
compress/channel_pack=0
|
||||
mipmaps/generate=false
|
||||
mipmaps/limit=-1
|
||||
roughness/mode=0
|
||||
roughness/src_normal=""
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/normal_map_invert_y=false
|
||||
process/hdr_as_srgb=false
|
||||
process/hdr_clamp_exposure=false
|
||||
process/size_limit=0
|
||||
detect_3d/compress_to=1
|
||||
Loading…
Add table
Add a link
Reference in a new issue