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,39 @@
extends Skill
class_name JuiceDrinking
func _init():
skillName = "Juice Drinking"
skillIcon = load("res://Skills/JuiceDrinking/juiceDrinkingIcon.png")
func get_drink_speed(item):
var drinkSpeed = 30
drinkSpeed -= (100 - item.get_edibility())*0.2
if drinkSpeed <= 1:
drinkSpeed = 1
drinkSpeed += currentLevel * 0.1
if drinkSpeed >= 35:
drinkSpeed = 35
return drinkSpeed
func get_item_xp(item):
var itemXP = 5
itemXP += floori(item.get_value() * 1.5)
itemXP += floori((100 - item.get_edibility())*0.8)
if itemXP <= 0:
itemXP = 1
return itemXP
func get_bleh_chance(item):
var blehChance = 0
blehChance = ((100 - item.get_edibility())*0.9) - (currentLevel*0.9)
if currentLevel > 40:
blehChance -= (currentLevel - 40) * 0.5
return blehChance

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

View file

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