GitXplorerGitXplorer
N

luakatsu

public
6 stars
2 forks
1 issues

Commits

List of commits on branch master.
Unverified
dc3fffd3c1b62c899cbb9c97fa8f569b18b8ae74

Merge pull request #4 from iori-yja/fix_english

committed 9 years ago
Unverified
78e30a632804193e2059a59b21b882dfcb470e86

Umm

committed 9 years ago
Unverified
5b264ffaa124ea3180cd9fe1b4040fe5b867cdb2

oops, forgot to rename

committed 9 years ago
Unverified
fa63b67c005006a1e4bc5a4416980a769f00571e

Fix typo in README like as PR #1 (https://github.com/Nymphium/luakatsu/pull/1/files).

iiori-yja committed 9 years ago
Unverified
9b77a03b0382bd361b5e4a3c89272f4e6398f569

fix English sentences.

iiori-yja committed 9 years ago
Unverified
01ac101873816e644af806df4554ef4cfa4182cd

Merge pull request #3 from Nymphium/local

committed 9 years ago

README

The README file for this repository.

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