Skip to content

Nymphium/luakatsu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

luakatsu (Lua + Aikatsu) v4.0

Rubicure is Ruby + Precure, This is Lua + Aikastu

install

luarocks --local install luakatsu

or

luarocks --local --from=https://github.com/Nymphium/luakatsu/raw/master/ install luakatsu

or

git clone https://github.com/Nymphium/luakatsu
cd luakatsu
luarocks --local make

compatibility

After v1.3, non-idol characters' data are none here. And catchphrases are not supported.

usage

$ lua

> require "luakatsu"
> print(type(Aikatsu))
table
> print(Aikatsu.version)
v4.0

local table (version >= v2.1-1)

local luakatsu = require "luakatsu.local"

Aikatsu:find_birthday() (version >= v3.0-1)

Aikatsu:find_birthday("12/03")
--> returns Kii

one-liner

lua -luakatsu -e "for m = 1, 12 do for d = 1, 31 do (function(x) return x and print(x.name, x.birthday) end)(Aikatsu:find_birthday(([[%02d/%02d]]):format(m,d))) end end"

profile

print(Aikatsu.Akari.name) ---> 大空 あかり

print(type(Aikatsu.Akari.signature_songs) == 'table' and table.concat(Aikatsu.Akari.signature_songs, ', ') or Aikatsu.Akari.signature_songs) ---> Blooming♡Blooming

Aikatsu.Akari()

--[[
name	大空 あかり
actor	下地 柴野
birthday	04/01
zodiac_sign	Aries
blood_type	A
favorite_foods	スイカ, チョコレート, ドーナツ, みかん, カレー
special_ablity	ものまね
favorite_brand	Dreamy Crown
type	Cute
signature_songs	Blooming♡Blooming
sing	遠藤 瑠香
affilication	GOGO! いちご応援隊, Skips♪, Luminas, Luminas
school	スターライト学園
--]]

groups

Aikatsu.groups.Luminas()

--[[
name	Luminas
members	大空 あかり, 氷上 スミレ, 新条 ひなき
songs	リルビーリルウィン♪
--]]

one-liner

$ lua -luakatsu -e Aikatsu\(\)
私のアツいアイドル活動、アイカツ! 始まります! フフッヒ

License

MIT License

About

"Aikatsu! ~ idol katsudou ~" with Lua

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors