Skip to content

Commit c1a9aa4

Browse files
authored
release: 1.3.4 (#266)
2 parents 68aa2c4 + b4bfb5b commit c1a9aa4

File tree

8 files changed

+338
-1
lines changed

8 files changed

+338
-1
lines changed

โ€ŽREADME-en.mdโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ _New contributions may take up to 1 hour to be reflected._
233233
| dessert_fox_collaborator <br> <img src="docs/dessert-fox-collaborator.svg" width="80px" height="65px"/> | 0.0 | Pet made for collaborator [sumi-001](https://github.com/sumi-0011) |
234234
| pig_collaborator <br> <img src="docs/pig-collaborator.svg" width="120px" height="90px"/> | 0.0 | Pet made for collaborator [hyesungoh](https://github.com/hyesungoh) |
235235
| rabbit_collaborator <br> <img src="docs/rabbit-collaborator.svg" width="40px" height="55px"/> | 0.0 | Pet made for collaborator [Choi jiwoo](https://www.behance.net/sopungcjw42af) |
236+
| hamster_collaborator <br> <img src = "docs/hamster-collaborator.svg" width="100px" height="50px"/> | 0.8 | Pet made for collaborator [Orchemi](https://github.com/Orchemi) |
236237

237238
##
238239

โ€ŽREADME-ja.mdโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ _ๆ–ฐใ—ใ„ใ‚ณใƒณใƒˆใƒชใƒ“ใƒฅใƒผใ‚ทใƒงใƒณใฎๅๆ˜ ใซใฏๆœ€ๅคงใง1ๆ™‚้–“ใ‹ใ‹ใ‚‹
230230
| dessert_fox_collaborator <br> <img src="docs/dessert-fox-collaborator.svg" width="80px" height="65px"/> | 0.0 | ใ‚ณใƒฉใƒœใƒฌใƒผใ‚ฟใƒผ [sumi-001](https://github.com/sumi-0011) ใฎใŸใ‚ใซไฝœใ‚‰ใ‚ŒใŸใƒšใƒƒใƒˆ |
231231
| pig_collaborator <br> <img src="docs/pig-collaborator.svg" width="120px" height="90px"/> | 0.0 | ใ‚ณใƒฉใƒœใƒฌใƒผใ‚ฟใƒผ [hyesungoh](https://github.com/hyesungoh) ใฎใŸใ‚ใซไฝœใ‚‰ใ‚ŒใŸใƒšใƒƒใƒˆ |
232232
| rabbit_collaborator <br> <img src="docs/rabbit-collaborator.svg" width="40px" height="55px"/> | 0.0 | ใ‚ณใƒฉใƒœใƒฌใƒผใ‚ฟใƒผ [Choi jiwoo](https://www.behance.net/sopungcjw42af) ใฎใŸใ‚ใซไฝœใ‚‰ใ‚ŒใŸใƒšใƒƒใƒˆ |
233+
| hamster_collaborator <br> <img src = "docs/hamster-collaborator.svg" width="100px" height="50px"/> | 0.8 | Pet made for collaborator [Orchemi](https://github.com/Orchemi) |
233234

234235
##
235236

โ€ŽREADME-zhcn.mdโ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ _ๆ–ฐ็š„่ดก็Œฎๅฏ่ƒฝ้œ€่ฆ1ไธชๅฐๆ—ถๆ‰่ƒฝๆ˜พ็คบ_
232232
| dessert_fox_collaborator <br> <img src="docs/dessert-fox-collaborator.svg" width="80px" height="65px"/> | 0.0 | ๅไฝœ่€… [sumi-001](https://github.com/sumi-0011) ๅˆถไฝœ |
233233
| pig_collaborator <br> <img src="docs/pig-collaborator.svg" width="120px" height="90px"/> | 0.0 | ๅไฝœ่€… [hyesungoh](https://github.com/hyesungoh) ๅˆถไฝœ |
234234
| rabbit_collaborator <br> <img src="docs/rabbit-collaborator.svg" width="40px" height="55px"/> | 0.0 | ๅไฝœ่€… [Choi jiwoo](https://www.behance.net/sopungcjw42af) ๅˆถไฝœ |
235+
| hamster_collaborator <br> <img src = "docs/hamster-collaborator.svg" width="100px" height="50px"/> | 0.8 | Pet made for collaborator [Orchemi](https://github.com/Orchemi) |
235236

236237
##
237238

โ€ŽREADME.mdโ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ farm mode๋Š” ๊ฐ€์ง€๊ณ  ์žˆ๋Š” ๋ชจ๋“  ๋™๋ฌผ๊ณผ ์ถ”๊ฐ€์ ์ธ ์ •๋ณด๋ฅผ ๋ณด์—ฌ์ค˜
103103
### guild mode
104104

105105
๊ธธ๋“œ๋ฅผ ๋งŒ๋“ค๊ณ  ์นœ๊ตฌ์™€ ํ•จ๊ป˜ ํŽซ์„ ํ‚ค์šธ ์ˆ˜ ์žˆ์–ด์š”.
106-
[๊ธธ๋“œ ๋งŒ๋“ค๋Ÿฌ ๊ฐ€๊ธฐ](https://gitanimals.org/guild)
106+
[๊ธธ๋“œ ๋งŒ๋“ค๋Ÿฌ ๊ฐ€๊ธฐ](https://gitanimals.org/guild)
107107

108108
<a href="https://www.gitanimals.org/">
109109
<img src="https://render.gitanimals.org/guilds/668749238833660322/draw" width="300" alt="gitanimals"/>
@@ -229,6 +229,7 @@ _์ƒˆ๋กœ์šด contribution ๋ฐ˜์˜์€ ์ตœ๋Œ€ 1์‹œ๊ฐ„์ด ์†Œ์š”๋  ์ˆ˜ ์žˆ์–ด์š”._
229229
| dessert_fox_collaborator <br> <img src="docs/dessert-fox-collaborator.svg" width="80px" height="65px"/> | 0.0 | Pet made for collaborator [sumi-001](https://github.com/sumi-0011) |
230230
| pig_collaborator <br> <img src="docs/pig-collaborator.svg" width="120px" height="90px"/> | 0.0 | Pet made for collaborator [hyesungoh](https://github.com/hyesungoh) |
231231
| rabbit_collaborator <br> <img src="docs/rabbit-collaborator.svg" width="40px" height="55px"/> | 0.0 | Pet made for collaborator [Choi jiwoo](https://www.behance.net/sopungcjw42af) |
232+
| hamster_collaborator <br> <img src = "docs/hamster-collaborator.svg" width="100px" height="50px"/> | 0.8 | Pet made for collaborator [Orchemi](https://github.com/Orchemi) |
232233

233234
##
234235

Lines changed: 126 additions & 0 deletions
Loading

โ€Žsrc/main/kotlin/org/gitanimals/core/PersonaType.ktโ€Ž

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2001,6 +2001,26 @@ enum class PersonaType(val weight: Double, private var dropRate: String? = null)
20012001
StringBuilder().moveRandomly("maltese", id, 40, "180s", 5, 12.0)
20022002
.toString()
20032003
},
2004+
HAMSTER_COLLABORATOR(0.0) {
2005+
override fun loadSvg(name: String, animationId: Long, level: Long, mode: Mode): String {
2006+
return hamsterCollaboratorSvg.replace("*{act}", act(animationId))
2007+
.replace("*{id}", animationId.toString())
2008+
.replace("*{level}", level.toSvg(14.0, 2.0))
2009+
.replace(
2010+
"*{levelx}",
2011+
(-5 + (-1 * (level.toString().length))).toString()
2012+
)
2013+
.replace("*{username}", name.toSvg(14.0, 25.0))
2014+
.replace(
2015+
"*{usernamex}",
2016+
(17 + (-3 * name.length)).toString()
2017+
)
2018+
}
2019+
2020+
override fun act(id: Long, flippedWidth: Double): String =
2021+
StringBuilder().moveRandomly("hamster", id, 5, "1000s", 5, 21.0)
2022+
.toString()
2023+
},
20042024
;
20052025

20062026
init {

โ€Žsrc/main/kotlin/org/gitanimals/core/Svgs.ktโ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ val hamsterKotlinSvg: String = ClassPathResource("persona/animal/hamster-kotlin.
305305
val hamsterJsSvg: String = ClassPathResource("persona/animal/hamster-js.svg")
306306
.getContentAsString(Charset.defaultCharset())
307307

308+
val hamsterCollaboratorSvg: String = ClassPathResource("persona/animal/hamster-collaborator.svg")
309+
.getContentAsString(Charset.defaultCharset())
310+
308311
val snowmanSvg: String = ClassPathResource("persona/animal/snowman.svg")
309312
.getContentAsString(Charset.defaultCharset())
310313

0 commit comments

Comments
ย (0)