It's Cow Game! Version 2.04!

This commit is contained in:
PajamaBee 2024-09-19 23:06:51 -05:00
commit a9e1ed9ddd
3148 changed files with 95332 additions and 0 deletions

View file

@ -0,0 +1,46 @@
extends Skill
class_name BasketWeaving
func _init():
skillName = "Basket Weaving"
skillIcon = load("res://Skills/BasketWeaving/BasketWeavingIcon.png")
static func get_basket_space(basket:Item):
var basketSpaceAmounts = [1, 3, 5, 8, 10, 15, 20, 25, 32, 35, 40, 45, 60,
75, 90, 120, 150, 200, 270, 350, 500]
var basketLevelStepSize = 100/basketSpaceAmounts.size()
var basketLevel = basket.basketPower/basketLevelStepSize
if basketLevel >= basketSpaceAmounts.size():
basketLevel = basketSpaceAmounts.size() - 1
return basketSpaceAmounts[basketLevel]
func get_basketing_speed(item:Item):
var basketingSpeed = 50
basketingSpeed -= item.get_basketability_difficulty()*0.2
return basketingSpeed
func get_item_xp(item):
var itemXP = 8
itemXP += floori(item.value * 1.6)
itemXP += floori(item.get_basketability_difficulty()*1.3)
if itemXP <= 0:
itemXP = 1
return itemXP
func get_failed_item_xp(item):
var itemXP = get_item_xp(item)
itemXP = floor(itemXP * 0.3)
return itemXP
func get_fail_chance(item):
var blehChance = 0
blehChance = (item.get_basketability_difficulty()*0.9) - (currentLevel*0.9)
return blehChance

Binary file not shown.

After

Width:  |  Height:  |  Size: 606 B

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://djpuiwwet5808"
path="res://.godot/imported/BasketWeavingIcon.png-3dbd6a57094634e5f8e98c3035394118.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Skills/BasketWeaving/BasketWeavingIcon.png"
dest_files=["res://.godot/imported/BasketWeavingIcon.png-3dbd6a57094634e5f8e98c3035394118.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